public class Or extends Operation
| Constructor and Description |
|---|
Or() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bool(XPathContext xctxt)
Evaluate this operation directly to a boolean.
|
XObject |
execute(XPathContext xctxt)
OR two expressions and return the boolean result.
|
callVisitors, canTraverseOutsideSubtree, deepEquals, fixupVariables, getExpression, getLeftOperand, getRightOperand, operate, setExpression, setLeftRightasIterator, asIteratorRaw, asNode, assertion, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstrpublic XObject execute(XPathContext xctxt) throws TransformerException
execute in class Operationxctxt - The runtime execution context.XBoolean.S_TRUE or
XBoolean.S_FALSE.TransformerExceptionpublic boolean bool(XPathContext xctxt) throws TransformerException
bool in class Expressionxctxt - The runtime execution context.TransformerExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.