org.deegree.filter.expression.custom.se
Class StringPosition
java.lang.Object
org.deegree.filter.expression.custom.AbstractCustomExpression
org.deegree.filter.expression.custom.se.StringPosition
- All Implemented Interfaces:
- Expression, CustomExpression
public class StringPosition
- extends AbstractCustomExpression
StringPosition
- Version:
- $Revision: 31400 $, $Date: 2011-08-02 10:11:48 +0200 (Tue, 02 Aug 2011) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringPosition
public StringPosition()
StringPosition
public StringPosition(StringBuffer lookup,
Continuation<StringBuffer> lookupContn,
StringBuffer value,
Continuation<StringBuffer> contn,
boolean forward)
- Parameters:
lookup
- lookupContn
- value
- contn
- forward
-
getElementName
public QName getElementName()
- Description copied from interface:
CustomExpression
- Returns the element name used for encoding this expression.
- Returns:
- the element name of the expression, never
null
evaluate
public <T> TypedObjectNode[] evaluate(T obj,
XPathEvaluator<T> xpathEvaluator)
throws FilterEvaluationException
- Description copied from interface:
Expression
- Determines the values of the expression for the given context object.
Note that this returns an TypedObjectNode[]
, as an expression may evaluate to multiple values, e.g.
a ValueReference
that targets a multi property of a feature.
- Type Parameters:
T
- type of the context object- Parameters:
obj
- object that the expression is evaluated upon, must not be null
xpathEvaluator
- used for evaluation of XPath expressions, must not be null
- Returns:
- the values of the expression, may be empty (and even contain
null
values), but never
null
- Throws:
FilterEvaluationException
parse
public StringPosition parse(XMLStreamReader in)
throws XMLStreamException
- Specified by:
parse
in class AbstractCustomExpression
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.