org.jscience.ml.gml.infoset
Interface GMLConstruct

All Superinterfaces:
GMLConstructOwner, XMLDescribable
All Known Subinterfaces:
Coord, Coordinates, Feature, FeatureCollection, Geometry, GeometryCollection, Property, UnknownConstruct
All Known Implementing Classes:
CoordImpl, CoordinatesImpl, FeatureCollectionImpl, FeatureImpl, GeometryCollectionImpl, GeometryImpl, GMLConstructImpl, PropertyImpl, UnknownConstructImpl

public interface GMLConstruct
extends GMLConstructOwner, XMLDescribable

Defines the interface that represents an abstract GML construct. Any element that appears in a GML document is classified as a GML construct. In addition to the known GML constructs such as Feature and Geometry, this notion includes even "unknown" constructs.


Method Summary
 Attribute getAttribute(int index)
          DOCUMENT ME!
 Attribute getAttribute(java.lang.String localName)
          DOCUMENT ME!
 Attribute getAttribute(java.lang.String namespace, java.lang.String localName)
          DOCUMENT ME!
 int getAttributeCount()
          DOCUMENT ME!
 GMLConstructOwner getOwner()
          Returns the owner of this GML construct.
 
Methods inherited from interface org.jscience.ml.gml.infoset.GMLConstructOwner
getGMLConstructIterator
 
Methods inherited from interface org.jscience.ml.gml.infoset.XMLDescribable
getXMLDescriptor
 

Method Detail

getOwner

GMLConstructOwner getOwner()
Returns the owner of this GML construct.

Returns:
In a valid GML structure, the owner should not be null.

getAttributeCount

int getAttributeCount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAttribute

Attribute getAttribute(int index)
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAttribute

Attribute getAttribute(java.lang.String namespace,
                       java.lang.String localName)
DOCUMENT ME!

Parameters:
namespace - DOCUMENT ME!
localName - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAttribute

Attribute getAttribute(java.lang.String localName)
DOCUMENT ME!

Parameters:
localName - DOCUMENT ME!
Returns:
DOCUMENT ME!