org.deegree.model.filterencoding
Class FeatureId
java.lang.Object
org.deegree.model.filterencoding.FeatureId
public class FeatureId
- extends Object
Encapsulates the information of a element as defined in the FeatureId DTD. The
element is used to encode the unique identifier for any feature instance. Within a
filter expression, the is used as a reference to a particular feature instance.
- Author:
- Andreas Poth, last edited by: $Author: apoth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureId
public FeatureId(String value)
- Constructs a new FeatureId.
- Parameters:
value
-
buildFromDOM
public static FeatureId buildFromDOM(Element element)
throws FilterConstructionException
- Given a DOM-fragment, a corresponding Expression-object is built. This method recursively
calls other buildFromDOM () - methods to validate the structure of the DOM-fragment.
- Returns:
- feature id
- Throws:
FilterConstructionException
- if the structure of the DOM-fragment is invalid
buildGMLIdFromDOM
public static FeatureId buildGMLIdFromDOM(Element element)
throws FilterConstructionException
- Given a DOM-fragment, a corresponding Expression-object is built. This method recursively
calls other buildFromDOM () - methods to validate the structure of the DOM-fragment.
- Returns:
- feature id
- Throws:
FilterConstructionException
- if the structure of the DOM-fragment is invalid
getValue
public String getValue()
- Returns the feature id. A feature id is built from it's feature type name and it's id
separated by a ".". e.g. Road.A565
- Returns:
- feature id value
setValue
public void setValue(String value)
- Parameters:
value
- - See Also:
getValue()
toXML
public StringBuffer toXML()
- Produces an indented XML representation of this object.
- Returns:
- xml representation
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net