public class OrEvaluator extends AbstractLogicalEvaluator
lhs, rhs
Constructor and Description |
---|
OrEvaluator(org.jaxen.expr.LogicalExpr expr,
SelectorStep selectorStep,
Properties namespaces) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Element element,
ExecutionContext executionContext)
Does this XPath expression evaluate for the supplied
Element context object. |
boolean |
evaluate(SAXElement element,
ExecutionContext executionContext)
Does this XPath expression evaluate for the supplied
SAXElement context object. |
getLhs, getRhs, toString
getInstance
public OrEvaluator(org.jaxen.expr.LogicalExpr expr, SelectorStep selectorStep, Properties namespaces) throws org.jaxen.saxpath.SAXPathException
org.jaxen.saxpath.SAXPathException
public boolean evaluate(SAXElement element, ExecutionContext executionContext)
XPathExpressionEvaluator
SAXElement
context object.
The implementation can update the context to a parent element if the expression targets
multiple contexts.evaluate
in class XPathExpressionEvaluator
element
- The SAXElement
context to be evaluated against.executionContext
- Smooks ExecutionContext
.public boolean evaluate(Element element, ExecutionContext executionContext)
XPathExpressionEvaluator
Element
context object.
The implementation can update the context to a parent element if the expression targets
multiple contexts.evaluate
in class XPathExpressionEvaluator
element
- The Element
context to be evaluated against.executionContext
- Smooks ExecutionContext
.Copyright © 2020. All rights reserved.