public class Equals extends Operation
Constructor and Description |
---|
Equals() |
Modifier and Type | Method and Description |
---|---|
boolean |
bool(XPathContext xctxt)
Execute a binary operation by calling execute on each of the operands,
and then calling the operate method on the derived class.
|
XObject |
operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, fixupVariables, getExpression, getLeftOperand, getRightOperand, setExpression, setLeftRight
asIterator, asIteratorRaw, asNode, assertion, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr
public XObject operate(XObject left, XObject right) throws TransformerException
operate
in class Operation
left
- non-null reference to the evaluated left operand.right
- non-null reference to the evaluated right operand.TransformerException
public boolean bool(XPathContext xctxt) throws TransformerException
bool
in class Expression
xctxt
- The runtime execution context.TransformerException
Copyright © 2018 JBoss by Red Hat. All rights reserved.