Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.xpath.Expression
org.apache.xpath.operations.Operation
org.apache.xpath.operations.Or
public class Or
extends Operation
Method Summary | |
boolean |
|
XObject |
|
Methods inherited from class org.apache.xpath.operations.Operation | |
callVisitors , canTraverseOutsideSubtree , deepEquals , execute , fixupVariables , getExpression , getLeftOperand , getRightOperand , operate , setExpression , setLeftRight |
Methods inherited from class org.apache.xpath.Expression | |
asIterator , asIteratorRaw , asNode , assertion , bool , canTraverseOutsideSubtree , deepEquals , error , execute , execute , execute , execute , executeCharsToContentHandler , exprAddChild , exprGetChild , exprGetNumChildren , exprGetParent , exprSetParent , fixupVariables , getColumnNumber , getExpressionOwner , getLineNumber , getPublicId , getSystemId , isNodesetExpr , isStableNumber , num , warn , xstr |
public boolean bool(XPathContext xctxt) throws TransformerException
Evaluate this operation directly to a boolean.
- Overrides:
- bool in interface Expression
- Parameters:
xctxt
- The runtime execution context.
- Returns:
- The result of the operation as a boolean.
- Throws:
TransformerException
-
public XObject execute(XPathContext xctxt) throws TransformerException
OR two expressions and return the boolean result. Override superclass method for optimization purposes.XBoolean.S_FALSE
.
- Overrides:
- execute in interface Operation
- Parameters:
xctxt
- The runtime execution context.
- Returns:
XBoolean.S_TRUE
or
- Throws:
TransformerException
-