|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.gml.GMLGeometry_Impl
org.deegree_impl.gml.GMLPolygon_Impl
----------------------------------------------------------
Field Summary |
Fields inherited from class org.deegree_impl.gml.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. if the submitted ring isn't not completly contained within the exterior ring an exception should be thrown. |
static GMLPolygon |
createGMLPolygon(org.w3c.dom.Document doc)
factory method to create a GMLPolygon. the poly that will be returned doesn't contain any ring |
org.w3c.dom.Element |
getAsElement()
|
GMLLinearRing |
getExteriorRing()
returns the exterior ring of the polygon |
GMLLinearRing[] |
getInteriorRings()
returns the interior rings of the polygon. if no interior rings exists null should be returned |
void |
setExteriorRing(GMLLinearRing exteriorRing)
|
Methods inherited from class org.deegree_impl.gml.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 org.deegree.gml.GMLGeometry |
getId, getName, getSrs, setId, setSrs |
Constructor Detail |
public GMLPolygon_Impl(org.w3c.dom.Element element)
element
- Method Detail |
public static GMLPolygon createGMLPolygon(org.w3c.dom.Document doc)
public org.w3c.dom.Element getAsElement()
getAsElement
in class GMLGeometry_Impl
public GMLLinearRing getExteriorRing()
getExteriorRing
in interface GMLPolygon
public void setExteriorRing(GMLLinearRing exteriorRing)
setExteriorRing
in interface GMLPolygon
org.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 GMLPolygon
GMLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |