org.apache.xpath.operations
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, setLeftRight
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 execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
execute
in class Operation
xctxt
- The runtime execution context.XBoolean.S_TRUE
or
XBoolean.S_FALSE
.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 ? 2005 Apache XML Project. All Rights Reserved.