|
|||||||||
| 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.CoordImpl
public class CoordImpl
A DOM-based implementation of the Coord interface.
| Field Summary |
|---|
| Fields inherited from interface org.jscience.ml.gml.infoset.Coord |
|---|
X_PROP, Y_PROP, Z_PROP |
| Fields inherited from interface org.jscience.ml.gml.infoset.CoordinateTuple |
|---|
X_INDEX, Y_INDEX, Z_INDEX |
| Constructor Summary | |
|---|---|
CoordImpl(Geometry owner,
org.w3c.dom.Element domElement,
GMLDocument document)
Initializes this coord construct and all GML constructs directly owned by it. |
|
| Method Summary | |
|---|---|
Coordinate |
getCoordinate(int index)
Returns the n-th coordinate of this coordinate tuple. |
PropertyIterator |
getPropertyIterator()
Returns an iterator to all properties of this feature. |
UnknownConstructIterator |
getUnknownConstructIterator()
Returns an iterator to all unknown constructs of this feature. |
Coordinate |
getX()
Convenience method to retrieve the first coordinate. |
Coordinate |
getY()
Convenience method to retrieve the second coordinate. |
Coordinate |
getZ()
Convenience method to retrieve the third coordinate. |
protected boolean |
hasProperties()
DOCUMENT ME! |
protected boolean |
hasUnknownConstructs()
DOCUMENT ME! |
protected void |
refreshInternals()
Refreshes the internal cache of owned GML constructs. |
java.lang.String |
toString()
Returns a one-line description of this coord. |
| 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 |
|---|
public CoordImpl(Geometry owner,
org.w3c.dom.Element domElement,
GMLDocument document)
owner - The owner of this coord.domElement - The corresponding DOM element.document - DOCUMENT ME!| Method Detail |
|---|
public UnknownConstructIterator getUnknownConstructIterator()
getUnknownConstructIterator in interface UnknownConstructOwnerpublic PropertyIterator getPropertyIterator()
getPropertyIterator in interface PropertyOwnerpublic Coordinate getX()
getX in interface CoordinateTuplepublic Coordinate getY()
getY in interface CoordinateTuplepublic Coordinate getZ()
getZ in interface CoordinateTuplepublic Coordinate getCoordinate(int index)
getCoordinate in interface CoordinateTupleindex - Represents an index into the coordinate tuple. The lowest
index is 0.
public java.lang.String toString()
toString in class GMLConstructImplprotected boolean hasUnknownConstructs()
hasUnknownConstructs in class GMLConstructImplprotected boolean hasProperties()
hasProperties 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 | ||||||||