| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.filterencoding.Expression
org.deegree.model.filterencoding.PropertyName
public class PropertyName
Encapsulates the information of a PropertyName element.
| Field Summary | 
|---|
| Fields inherited from class org.deegree.model.filterencoding.Expression | 
|---|
id | 
| Constructor Summary | |
|---|---|
PropertyName(PropertyPath value)
Creates a new instance of PropertyName. | 
|
PropertyName(QualifiedName elementName)
Creates a new instance of PropertyName. | 
|
PropertyName(String value)
Deprecated. use #PropertyName(QualifiedName) instead  | 
|
| Method Summary | |
|---|---|
static Expression | 
buildFromDOM(Element element)
Given a DOM-fragment, a corresponding Expression-object is built.  | 
 boolean | 
equals(Object other)
Indicates whether some other object is "equal to" this one.  | 
 Object | 
evaluate(Feature feature)
Returns the PropertyName's value (to be used in the evaluation of a complexer Expression).  | 
 PropertyPath | 
getValue()
Returns the PropertyName's value.  | 
 void | 
setValue(PropertyPath value)
 | 
 String | 
toString()
Returns a string representation of the object.  | 
 StringBuffer | 
toXML()
Produces an indented XML representation of this object.  | 
| Methods inherited from class org.deegree.model.filterencoding.Expression | 
|---|
getExpressionId, getExpressionName | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
@Deprecated public PropertyName(String value)
PropertyName.
value - public PropertyName(QualifiedName elementName)
PropertyName.
elementName - public PropertyName(PropertyPath value)
PropertyName.
value - | Method Detail | 
|---|
public static Expression buildFromDOM(Element element)
                               throws FilterConstructionException
element - 
FilterConstructionException - if the structure of the DOM-fragment is invalidpublic PropertyPath getValue()
public void setValue(PropertyPath value)
value - getValue()public StringBuffer toXML()
toXML in class Expression
public Object evaluate(Feature feature)
                throws FilterEvaluationException
TODO: Improve datatype handling.
evaluate in class Expressionfeature - that determines the value of this PropertyName
FilterEvaluationException - if the public boolean equals(Object other)
equals in class Objecttrue if this object is the same as the obj argument;
         false otherwisepublic String toString()
toString in class Object
  | 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net