|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.ml.gml.dom.GMLConstructImpl
org.jscience.ml.gml.dom.GeometryImpl
public class GeometryImpl
A DOM-based implementation of the Geometry interface.
| Field Summary |
|---|
| Fields inherited from interface org.jscience.ml.gml.infoset.Geometry |
|---|
GID_ATTR, SRS_NAME_ATTR |
| Constructor Summary | |
|---|---|
protected |
GeometryImpl(GeometryOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
Initializes this geometry and all GML constructs directly owned by it. |
| Method Summary | |
|---|---|
CoordinateTupleIterator |
getCoordinateTupleIterator()
A convenience method to gain access to geometry coordinates. |
java.lang.String |
getId()
Returns the Id of this geometry, presumably specified with gid attribute. |
GeometryIterator |
getInnerBoundaryIterator()
A convenience method to gain access to inner boundaries if available. |
PropertyIterator |
getPropertyIterator()
Returns an iterator to all properties of this geometry. |
java.lang.String |
getSRSName()
Returns the name of the Spatial Reference System (SRS) |
UnknownConstructIterator |
getUnknownConstructIterator()
Returns an iterator to all unknown constructs of this geometry. |
protected boolean |
hasCoordinates()
DOCUMENT ME! |
protected boolean |
hasCoords()
DOCUMENT ME! |
protected boolean |
hasProperties()
DOCUMENT ME! |
protected boolean |
hasUnknownConstructs()
DOCUMENT ME! |
static Geometry |
newGeometry(GeometryOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
Creates a new geometry or geometry collection object. |
protected void |
refreshInternals()
Refreshes the internal data cache from the DOM source tree. |
java.lang.String |
toString()
Returns a one-line string representation of this GML construct. |
| Methods inherited from class org.jscience.ml.gml.dom.GMLConstructImpl |
|---|
getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributeLine, getDOMElement, getGMLConstructIterator, getGMLDocument, getOwner, getXMLDescriptor, hasFeatures, hasGeometries, setGMLDocument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jscience.ml.gml.infoset.GMLConstruct |
|---|
getAttribute, getAttribute, getAttribute, getAttributeCount, getOwner |
| Methods inherited from interface org.jscience.ml.gml.infoset.XMLDescribable |
|---|
getXMLDescriptor |
| Methods inherited from interface org.jscience.ml.gml.infoset.GMLConstructOwner |
|---|
getGMLConstructIterator |
| Constructor Detail |
|---|
protected GeometryImpl(GeometryOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
owner - The owner of this geometry.domElement - The corresponding DOM element.document - DOCUMENT ME!newGeometry(GeometryOwner,Element,GMLDocument)| Method Detail |
|---|
public GeometryIterator getInnerBoundaryIterator()
getInnerBoundaryIterator in interface Geometrypublic CoordinateTupleIterator getCoordinateTupleIterator()
getCoordinateTupleIterator in interface Geometrypublic java.lang.String getId()
getId in interface Geometrypublic java.lang.String getSRSName()
getSRSName in interface Geometrypublic UnknownConstructIterator getUnknownConstructIterator()
getUnknownConstructIterator in interface UnknownConstructOwnerpublic PropertyIterator getPropertyIterator()
getPropertyIterator in interface PropertyOwner
public static Geometry newGeometry(GeometryOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
owner - DOCUMENT ME!domElement - DOCUMENT ME!document - DOCUMENT ME!
public java.lang.String toString()
toString in class GMLConstructImplprotected boolean hasProperties()
hasProperties in class GMLConstructImplprotected boolean hasCoords()
hasCoords in class GMLConstructImplprotected boolean hasCoordinates()
hasCoordinates in class GMLConstructImplprotected boolean hasUnknownConstructs()
hasUnknownConstructs in class GMLConstructImplprotected void refreshInternals()
refreshInternals in class GMLConstructImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||