org.jscience.ml.gml.dom
Class GeometryCollectionImpl
java.lang.Object
org.jscience.ml.gml.dom.GMLConstructImpl
org.jscience.ml.gml.dom.GeometryImpl
org.jscience.ml.gml.dom.GeometryCollectionImpl
- All Implemented Interfaces:
- Geometry, GeometryCollection, GeometryOwner, GMLConstruct, GMLConstructOwner, PropertyOwner, UnknownConstructOwner, XMLDescribable
public class GeometryCollectionImpl
- extends GeometryImpl
- implements GeometryCollection
A DOM-based implementation of the GeometryCollection interface.
| 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 |
GeometryCollectionImpl
protected GeometryCollectionImpl(GeometryOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
- Initializes this geometry collection and all GML constructs directly
owned by it. Should be called from newGeometry() method only.
- Parameters:
owner - The owner of this geometry collection.domElement - The corresponding DOM element.document - DOCUMENT ME!
getGeometryIterator
public GeometryIterator getGeometryIterator()
- DOCUMENT ME!
- Specified by:
getGeometryIterator in interface GeometryOwner
- Returns:
- DOCUMENT ME!
toString
public java.lang.String toString()
- Returns a one-line string description of this object.
- Overrides:
toString in class GeometryImpl
- Returns:
- DOCUMENT ME!
hasCoords
protected boolean hasCoords()
- DOCUMENT ME!
- Overrides:
hasCoords in class GeometryImpl
- Returns:
- DOCUMENT ME!
hasCoordinates
protected boolean hasCoordinates()
- DOCUMENT ME!
- Overrides:
hasCoordinates in class GeometryImpl
- Returns:
- DOCUMENT ME!
refreshInternals
protected void refreshInternals()
- Refreshes the internal data cache from the DOM source tree. This
method should be called each time the underlying DOM structure has
changed.
- Overrides:
refreshInternals in class GeometryImpl