org.jscience.ml.gml.infoset
Interface Geometry

All Superinterfaces:
GMLConstruct, GMLConstructOwner, PropertyOwner, UnknownConstructOwner, XMLDescribable
All Known Subinterfaces:
GeometryCollection
All Known Implementing Classes:
GeometryCollectionImpl, GeometryImpl

public interface Geometry
extends GMLConstruct, PropertyOwner, UnknownConstructOwner

Defines the interface every GML geometry must implement.


Field Summary
static java.lang.String GID_ATTR
          DOCUMENT ME!
static java.lang.String SRS_NAME_ATTR
          DOCUMENT ME!
 
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.
 java.lang.String getSRSName()
          Returns the name of the Spatial Reference System (SRS)
 
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.PropertyOwner
getPropertyIterator
 
Methods inherited from interface org.jscience.ml.gml.infoset.UnknownConstructOwner
getUnknownConstructIterator
 
Methods inherited from interface org.jscience.ml.gml.infoset.GMLConstructOwner
getGMLConstructIterator
 

Field Detail

GID_ATTR

static final java.lang.String GID_ATTR
DOCUMENT ME!

See Also:
Constant Field Values

SRS_NAME_ATTR

static final java.lang.String SRS_NAME_ATTR
DOCUMENT ME!

See Also:
Constant Field Values
Method Detail

getSRSName

java.lang.String getSRSName()
Returns the name of the Spatial Reference System (SRS)

Returns:
Null if the SRS is unspecified.

getId

java.lang.String getId()
Returns the Id of this geometry, presumably specified with gid attribute.

Returns:
Null if no Id attribute is specified.

getCoordinateTupleIterator

CoordinateTupleIterator getCoordinateTupleIterator()
A convenience method to gain access to geometry coordinates.

Returns:
Iterator to coordinate tuples. It is never null.

getInnerBoundaryIterator

GeometryIterator getInnerBoundaryIterator()
A convenience method to gain access to inner boundaries if available.

Returns:
Iterator to inner boundaries. It is never null.