|
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.Function
public class Function
Encapsulates the information of a Function
element as defined in the Expression
DTD.
Field Summary |
---|
Fields inherited from class org.deegree.model.filterencoding.Expression |
---|
id |
Constructor Summary | |
---|---|
Function(String name,
List args)
Constructs a new Function. |
Method Summary | |
---|---|
static Expression |
buildFromDOM(Element element)
Given a DOM-fragment, a corresponding Expression-object is built. |
Object |
evaluate(Feature feature)
Returns the Function's value (to be used in the evaluation of a complexer Expression). |
List |
getArguments()
returns the arguments of the function |
String |
getName()
Returns the Function's name. |
void |
setName(String name)
|
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Function(String name, List args)
Method Detail |
---|
public static Expression buildFromDOM(Element element) throws FilterConstructionException
FilterConstructionException
- if the structure of the DOM-fragment is invalidpublic String getName()
public void setName(String name)
name
- getName()
public List getArguments()
public StringBuffer toXML()
toXML
in class Expression
public 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 fails
|
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