Class And
java.lang.Object
org.loboevolution.apache.xpath.Expression
org.loboevolution.apache.xpath.operations.Operation
org.loboevolution.apache.xpath.operations.And
- All Implemented Interfaces:
SourceLocator
,ExpressionNode
,XPathVisitable
The 'and' operation expression executor.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
bool
(XPathContext xctxt) Evaluate expression to a boolean.execute
(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.Methods inherited from class org.loboevolution.apache.xpath.operations.Operation
callVisitors, canTraverseOutsideSubtree, deepEquals, operate, setLeftRight
Methods inherited from class org.loboevolution.apache.xpath.Expression
asIterator, asNode, assertion, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num
-
Constructor Details
-
And
public And()
-
-
Method Details
-
execute
Execute an expression in the XPath runtime context, and return the result of the expression.- Overrides:
execute
in classOperation
- Parameters:
xctxt
- The XPath runtime context.- Returns:
- The result of the expression in the form of a
XObject
. - Throws:
TransformerException
- if a runtime exception occurs.
-
bool
Evaluate expression to a boolean.- Overrides:
bool
in classExpression
- Parameters:
xctxt
- The XPath runtime context.- Returns:
- false
- Throws:
TransformerException
- if any
-