deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.model.filterencoding
Class FeatureId

java.lang.Object
  extended by org.deegree.model.filterencoding.FeatureId

public class FeatureId
extends java.lang.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.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
FeatureId(java.lang.String value)
          Constructs a new FeatureId.
 
Method Summary
static FeatureId buildFromDOM(org.w3c.dom.Element element)
          Given a DOM-fragment, a corresponding Expression-object is built.
static FeatureId buildGMLIdFromDOM(org.w3c.dom.Element element)
          Given a DOM-fragment, a corresponding Expression-object is built.
 java.lang.String getValue()
          Returns the feature id.
 void setValue(java.lang.String value)
           
 java.lang.StringBuffer toXML()
          Produces a XML representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureId

public FeatureId(java.lang.String value)
Constructs a new FeatureId.

Parameters:
value -
Method Detail

buildFromDOM

public static FeatureId buildFromDOM(org.w3c.dom.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.

Parameters:
element -
Returns:
feature id
Throws:
FilterConstructionException - if the structure of the DOM-fragment is invalid

buildGMLIdFromDOM

public static FeatureId buildGMLIdFromDOM(org.w3c.dom.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.

Parameters:
element -
Returns:
feature id
Throws:
FilterConstructionException - if the structure of the DOM-fragment is invalid

getValue

public java.lang.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(java.lang.String value)
Parameters:
value -
See Also:
getValue()

toXML

public java.lang.StringBuffer toXML()
Produces a XML representation of this object.

Returns:
xml representation

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org