|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(java.lang.String value)
Deprecated. use #PropertyName(QualifiedName) instead |
Method Summary | |
---|---|
static Expression |
buildFromDOM(org.w3c.dom.Element element)
Given a DOM-fragment, a corresponding Expression-object is built. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one. |
java.lang.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)
|
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.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(java.lang.String value)
PropertyName
.
value
- public PropertyName(QualifiedName elementName)
PropertyName
.
elementName
- public PropertyName(PropertyPath value)
PropertyName
.
value
- Method Detail |
---|
public static Expression buildFromDOM(org.w3c.dom.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 java.lang.StringBuffer toXML()
toXML
in class Expression
public java.lang.Object evaluate(Feature feature) throws FilterEvaluationException
TODO: Improve datatype handling.
evaluate
in class Expression
feature
- that determines the value of this PropertyName
FilterEvaluationException
- if the public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
true
if this object is the same as the obj argument;
false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org