|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.ogc.wms.gml_Impl.GMLGeometry_Impl
cgl.ogc.wms.gml_Impl.GMLPolygon_Impl
Title:
Description:
Copyright: Copyright (c) 2005
Company: Indiana University - Computer Science Dept.
| Field Summary |
| Fields inherited from class cgl.ogc.wms.gml_Impl.GMLGeometry_Impl |
element |
| Constructor Summary | |
GMLPolygon_Impl(org.w3c.dom.Element element)
Creates a new GMLPolygon_Impl object. |
|
| Method Summary | |
void |
addInteriorRing(GMLLinearRing interiorRing)
adds a interior ring to the polygon. |
static GMLPolygon |
createGMLPolygon(org.w3c.dom.Document doc)
factory method to create a GMLPolygon. |
org.w3c.dom.Element |
getAsElement()
|
GMLLinearRing |
getExteriorRing()
returns the exterior ring of the polygon |
GMLLinearRing[] |
getInteriorRings()
returns the interior rings of the polygon. |
void |
setExteriorRing(GMLLinearRing exteriorRing)
|
| Methods inherited from class cgl.ogc.wms.gml_Impl.GMLGeometry_Impl |
getId, getName, getSrs, setId, setSrs, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface cgl.ogc.wms.gml.GMLGeometry |
getId, getName, getSrs, setId, setSrs |
| Constructor Detail |
public GMLPolygon_Impl(org.w3c.dom.Element element)
element - Element| Method Detail |
public static GMLPolygon createGMLPolygon(org.w3c.dom.Document doc)
doc - Document
public org.w3c.dom.Element getAsElement()
getAsElement in class GMLGeometry_Implpublic GMLLinearRing getExteriorRing()
getExteriorRing in interface GMLPolygonpublic void setExteriorRing(GMLLinearRing exteriorRing)
setExteriorRing in interface GMLPolygonexteriorRing - GMLLinearRingorg.deegree_impl.gml.GMLPolygon_Impl#getExteriorRing()
If an exterior ring already exsists, it will be removed
before setting the new one.
public GMLLinearRing[] getInteriorRings()
getInteriorRings in interface GMLPolygon
public void addInteriorRing(GMLLinearRing interiorRing)
throws GMLException
addInteriorRing in interface GMLPolygoninteriorRing - GMLLinearRing
GMLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||