org.apache.xpath.operations
Class And

java.lang.Object
  |
  +--org.apache.xpath.Expression
        |
        +--org.apache.xpath.operations.Operation
              |
              +--org.apache.xpath.operations.And

public class And
extends Operation

The 'and' operation expression executer.

See Also:
Serialized Form

Constructor Summary
And()
           
 
Method Summary
 XObject execute(XPathContext xctxt)
          AND two expressions and return the boolean result.
 
Methods inherited from class org.apache.xpath.operations.Operation
canTraverseOutsideSubtree, operate, setLeftRight
 
Methods inherited from class org.apache.xpath.Expression
assertion, error, setSourceLocator, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

And

public And()
Method Detail

execute

public XObject execute(XPathContext xctxt)
                throws TransformerException
AND two expressions and return the boolean result. Override superclass method for optimization purposes.
Parameters:
xctxt - The runtime execution context.
Returns:
XBoolean.S_TRUE or XBoolean.S_FALSE.
Throws:
TransformerException -  
Overrides:
execute in class Operation


Copyright © 2000 Apache XML Project. All Rights Reserved.