Interface PredicateEvaluator
-
- All Superinterfaces:
Predicate
- All Known Implementing Classes:
DefaultPredicateEvaluator
,PositionPredicateEvaluator
public interface PredicateEvaluator extends Predicate
Jaxen XPath expression evaluator.- Author:
- tom.fennelly@jboss.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
evaluate(Fragment<?> fragment, ExecutionContext executionContext)
Does this XPath expression evaluate for the suppliedElement
context object.
-
-
-
Method Detail
-
evaluate
boolean evaluate(Fragment<?> fragment, ExecutionContext executionContext)
Does this XPath expression evaluate for the suppliedElement
context object. The implementation can update the context to a parent element if the expression targets multiple contexts.- Parameters:
fragment
- TheElement
context to be evaluated against.executionContext
- SmooksExecutionContext
.- Returns:
- True if the expression evaluates, otherwise false.
-
-