|
|||||||||
| 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.FeatureImpl
public class FeatureImpl
A DOM-based implementation of the Feature interface.
| Field Summary |
|---|
| Fields inherited from interface org.jscience.ml.gml.infoset.Feature |
|---|
BOUNDED_BY_PROP, DESCRIPTION_PROP, FID_ATTR, NAME_PROP |
| Constructor Summary | |
|---|---|
protected |
FeatureImpl(FeatureOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
Initializes this feature construct and all GML constructs owned by it. |
| Method Summary | |
|---|---|
Geometry |
getBoundedBy()
Returns the boundedBy property of this feature. |
java.lang.String |
getDescription()
Returns the value of the description property of this feature. |
java.lang.String |
getId()
Returns the Id of this feature, presumably stored in the fid attribute. |
java.lang.String |
getName()
Returns the value of the name property of this feature. |
PropertyIterator |
getPropertyIterator()
Returns an iterator to all properties of this feature. |
UnknownConstructIterator |
getUnknownConstructIterator()
Returns an iterator to all unknown constructs of this feature. |
protected boolean |
hasProperties()
DOCUMENT ME! |
protected boolean |
hasUnknownConstructs()
DOCUMENT ME! |
static Feature |
newFeature(FeatureOwner owner,
org.w3c.dom.Element sourceElement,
GMLDocument document)
This method must be used to create new features and feature collections. |
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 feature. |
| Methods inherited from class org.jscience.ml.gml.dom.GMLConstructImpl |
|---|
getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributeLine, getDOMElement, getGMLConstructIterator, getGMLDocument, getOwner, getXMLDescriptor, hasCoordinates, hasCoords, 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 FeatureImpl(FeatureOwner owner,
org.w3c.dom.Element domElement,
GMLDocument document)
newFeature(FeatureOwner,Element,GMLDocument)| Method Detail |
|---|
public Geometry getBoundedBy()
getBoundedBy in interface Featurepublic java.lang.String getName()
getName in interface Featurepublic java.lang.String getDescription()
getDescription in interface Featurepublic java.lang.String getId()
getId in interface Featurepublic PropertyIterator getPropertyIterator()
getPropertyIterator in interface PropertyOwnerpublic UnknownConstructIterator getUnknownConstructIterator()
getUnknownConstructIterator in interface UnknownConstructOwner
public static Feature newFeature(FeatureOwner owner,
org.w3c.dom.Element sourceElement,
GMLDocument document)
owner - DOCUMENT ME!sourceElement - DOCUMENT ME!document - DOCUMENT ME!
public java.lang.String toString()
toString in class GMLConstructImplprotected boolean hasProperties()
hasProperties 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 | ||||||||