|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xpath.Expression org.apache.xpath.operations.Operation org.apache.xpath.operations.Or
public class Or
The 'or' operation expression executer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.xpath.operations.Operation |
---|
Operation.LeftExprOwner |
Field Summary | |
---|---|
(package private) static long |
serialVersionUID
|
Fields inherited from class org.apache.xpath.operations.Operation |
---|
m_left, m_right |
Constructor Summary | |
---|---|
Or()
|
Method Summary | |
---|---|
boolean |
bool(XPathContext xctxt)
Evaluate this operation directly to a boolean. |
XObject |
execute(XPathContext xctxt)
OR two expressions and return the boolean result. |
Methods inherited from class org.apache.xpath.operations.Operation |
---|
callVisitors, canTraverseOutsideSubtree, deepEquals, fixupVariables, getExpression, getLeftOperand, getRightOperand, operate, setExpression, setLeftRight |
Methods inherited from class org.apache.xpath.Expression |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
Constructor Detail |
---|
public Or()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |