|
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.Function
public abstract class Function
Encapsulates the information of a Function
element as defined in the Expression
DTD.
Field Summary | |
---|---|
protected java.util.List<Expression> |
args
The Function's arguments. |
protected java.lang.String |
name
The Function's name (as specified in it's name attribute). |
Fields inherited from class org.deegree.model.filterencoding.Expression |
---|
id |
Constructor Summary | |
---|---|
protected |
Function()
|
|
Function(java.lang.String name,
java.util.List<Expression> args)
Constructs a new Function. |
Method Summary | |
---|---|
static Expression |
buildFromDOM(org.w3c.dom.Element element)
Given a DOM-fragment, a corresponding Expression-object is built. |
abstract java.lang.Object |
evaluate(Feature feature)
Returns the Function's value (to be used in the evaluation of a complexer Expression). |
java.util.List<Expression> |
getArguments()
returns the arguments of the function |
int |
getExpressionId()
|
java.lang.String |
getName()
Returns the Function's name. |
void |
setArguments(java.util.List<Expression> args)
|
void |
setName(java.lang.String name)
|
java.lang.StringBuffer |
toXML()
Produces an indented XML representation of this object. |
Methods inherited from class org.deegree.model.filterencoding.Expression |
---|
getExpressionName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.util.List<Expression> args
Constructor Detail |
---|
protected Function()
public Function(java.lang.String name, java.util.List<Expression> args)
name
- args
- Method Detail |
---|
public void setArguments(java.util.List<Expression> args)
args
- public static Expression buildFromDOM(org.w3c.dom.Element element) throws FilterConstructionException
FilterConstructionException
- if the structure of the DOM-fragment is invalidpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- getName()
public java.util.List<Expression> getArguments()
public int getExpressionId()
getExpressionId
in class Expression
ExpressionDefines
public abstract java.lang.Object evaluate(Feature feature) throws FilterEvaluationException
evaluate
in class Expression
feature
- that determines the concrete values of PropertyNames found in the
expression
FilterEvaluationException
- if the evaluation failspublic java.lang.StringBuffer toXML()
toXML
in class Expression
|
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