public class Bool extends UnaryOperation
Constructor and Description |
---|
Bool() |
Modifier and Type | Method and Description |
---|---|
boolean |
bool(XPathContext xctxt)
Evaluate this operation directly to a boolean.
|
XObject |
operate(XObject right)
Apply the operation to two operands, and return the result.
|
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, fixupVariables, getExpression, getOperand, setExpression, setRight
asIterator, asIteratorRaw, asNode, assertion, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr
public XObject operate(XObject right) throws javax.xml.transform.TransformerException
operate
in class UnaryOperation
right
- non-null reference to the evaluated right operand.javax.xml.transform.TransformerException
public boolean bool(XPathContext xctxt) throws javax.xml.transform.TransformerException
bool
in class Expression
xctxt
- The runtime execution context.javax.xml.transform.TransformerException
Copyright ? 2014 Apache XML Project. All Rights Reserved.