|
|||||||||
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.PropertyImpl
public class PropertyImpl
A DOM-based implementation of the Property interface.
Constructor Summary | |
---|---|
PropertyImpl(PropertyOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
Initializes this property and all GML constructs directly owned by it. |
Method Summary | |
---|---|
FeatureIterator |
getFeatureIterator()
Provides access to features owned by this FeatureOwner. |
GeometryIterator |
getGeometryIterator()
Provides access to geometries owned by this GeometryOwner. |
PropertyIterator |
getPropertyIterator()
Returns an iterator to all properties of this feature. |
UnknownConstructIterator |
getUnknownConstructIterator()
Returns an iterator to all unknown constructs of this property. |
java.lang.String |
getValueAsString()
Returns the String value of this property. |
protected boolean |
hasFeatures()
DOCUMENT ME! |
protected boolean |
hasGeometries()
DOCUMENT ME! |
protected boolean |
hasProperties()
DOCUMENT ME! |
protected boolean |
hasUnknownConstructs()
DOCUMENT ME! |
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 property. |
Methods inherited from class org.jscience.ml.gml.dom.GMLConstructImpl |
---|
getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributeLine, getDOMElement, getGMLConstructIterator, getGMLDocument, getOwner, getXMLDescriptor, hasCoordinates, hasCoords, 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 |
---|
public PropertyImpl(PropertyOwner owner, org.w3c.dom.Element domElement, GMLDocument document)
owner
- The owner of this property.domElement
- The corresponding DOM element.document
- DOCUMENT ME!Method Detail |
---|
public java.lang.String getValueAsString()
getValueAsString
in interface Property
public FeatureIterator getFeatureIterator()
getFeatureIterator
in interface FeatureOwner
public GeometryIterator getGeometryIterator()
getGeometryIterator
in interface GeometryOwner
public PropertyIterator getPropertyIterator()
getPropertyIterator
in interface PropertyOwner
public UnknownConstructIterator getUnknownConstructIterator()
getUnknownConstructIterator
in interface UnknownConstructOwner
public java.lang.String toString()
toString
in class GMLConstructImpl
protected boolean hasProperties()
hasProperties
in class GMLConstructImpl
protected boolean hasGeometries()
hasGeometries
in class GMLConstructImpl
protected boolean hasFeatures()
hasFeatures
in class GMLConstructImpl
protected boolean hasUnknownConstructs()
hasUnknownConstructs
in class GMLConstructImpl
protected void refreshInternals()
refreshInternals
in class GMLConstructImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |