org.jscience.ml.gml.infoset
Interface Feature

All Superinterfaces:
GMLConstruct, GMLConstructOwner, PropertyOwner, UnknownConstructOwner, XMLDescribable
All Known Subinterfaces:
FeatureCollection
All Known Implementing Classes:
FeatureCollectionImpl, FeatureImpl

public interface Feature
extends GMLConstruct, UnknownConstructOwner, PropertyOwner

Defines the interface every feature must implement. Feature extends the PropertyOwner interface because a feature may own properties.


Field Summary
static java.lang.String BOUNDED_BY_PROP
          DOCUMENT ME!
static java.lang.String DESCRIPTION_PROP
          DOCUMENT ME!
static java.lang.String FID_ATTR
          DOCUMENT ME!
static java.lang.String NAME_PROP
          DOCUMENT ME!
 
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.
 
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.UnknownConstructOwner
getUnknownConstructIterator
 
Methods inherited from interface org.jscience.ml.gml.infoset.PropertyOwner
getPropertyIterator
 
Methods inherited from interface org.jscience.ml.gml.infoset.GMLConstructOwner
getGMLConstructIterator
 

Field Detail

FID_ATTR

static final java.lang.String FID_ATTR
DOCUMENT ME!

See Also:
Constant Field Values

NAME_PROP

static final java.lang.String NAME_PROP
DOCUMENT ME!

See Also:
Constant Field Values

DESCRIPTION_PROP

static final java.lang.String DESCRIPTION_PROP
DOCUMENT ME!

See Also:
Constant Field Values

BOUNDED_BY_PROP

static final java.lang.String BOUNDED_BY_PROP
DOCUMENT ME!

See Also:
Constant Field Values
Method Detail

getId

java.lang.String getId()
Returns the Id of this feature, presumably stored in the fid attribute.

Returns:
Null if an Id is not specified.

getName

java.lang.String getName()
Returns the value of the name property of this feature.

Returns:
Null if the name property is not specified.

getDescription

java.lang.String getDescription()
Returns the value of the description property of this feature.

Returns:
Null if the description property is not specified.

getBoundedBy

Geometry getBoundedBy()
Returns the boundedBy property of this feature. This property defines the bounding box for this feature. In the future, the abstract geometry will be replaced by a Box.

Returns:
The Geometry/Box object if specified, otherwise null.