public class And extends Operation
Constructor and Description |
---|
And() |
Modifier and Type | Method and Description |
---|---|
boolean |
bool(XPathContext xctxt)
Evaluate this operation directly to a boolean.
|
XObject |
execute(XPathContext xctxt)
AND two expressions and return the boolean result.
|
callVisitors, canTraverseOutsideSubtree, deepEquals, fixupVariables, getExpression, getLeftOperand, getRightOperand, operate, 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 execute(XPathContext xctxt) throws TransformerException
execute
in class Operation
xctxt
- The runtime execution context.XBoolean.S_TRUE
or
XBoolean.S_FALSE
.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.