|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - object type that this evaluator works onpublic interface XPathEvaluator<T>
Implementations enable the evaluation of XPath expressions (given as ValueReferences) on a specific class of
objects, e.g. Feature instances.
| Method Summary | |
|---|---|
TypedObjectNode[] |
eval(T context,
ValueReference valueRef)
Returns the values that are selected by evaluating the given XPath 1.0 expression using the context object. |
String |
getId(T context)
Returns the identifier of the given context object. |
| Method Detail |
|---|
TypedObjectNode[] eval(T context,
ValueReference valueRef)
throws FilterEvaluationException
context - object that the expression is evaluated upon, must not be nullvalueRef - value reference, must not be null
null and contains at least one entry
FilterEvaluationException - if an exception occurs during the evaluation of the XPath expressionString getId(T context)
context - context object, never null
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||