org.apache.xpath.operations

Class And

public class And extends Operation

The 'and' operation expression executer.
Method Summary
booleanbool(XPathContext xctxt)
Evaluate this operation directly to a boolean.
XObjectexecute(XPathContext xctxt)
AND two expressions and return the boolean result.

Method Detail

bool

public boolean bool(XPathContext xctxt)
Evaluate this operation directly to a boolean.

Parameters: xctxt The runtime execution context.

Returns: The result of the operation as a boolean.

Throws: javax.xml.transform.TransformerException

execute

public XObject execute(XPathContext xctxt)
AND two expressions and return the boolean result. Override superclass method for optimization purposes.

Parameters: xctxt The runtime execution context.

Returns: S_TRUE or S_FALSE.

Throws: javax.xml.transform.TransformerException

Copyright B) 2006 Apache XML Project. All Rights Reserved.