org.exolab.adaptx.xpath.expressions
public interface Operator
Version: $Revision: 3957 $
Field Summary | |
---|---|
static int | ADD_OPERATOR
The add operator type |
static int | AND_OPERATOR
The and operator type |
static int | DIVIDE_OPERATOR
The divide operator type |
static int | EQUALITY_OPERATOR
The "equality" operator type |
static int | MODULUS_OPERATOR
The modulus operator type |
static int | MULTIPLY_OPERATOR
The multiply operator type |
static int | OR_OPERATOR
The or operator type |
static int | QUOTIENT_OPERATOR
The quotient operator type |
static int | SUBTRACT_OPERATOR
The subtract operator type |
Method Summary | |
---|---|
XPathResult | execute(XPathExpression left, XPathExpression right, XPathContext context)
Executes this operator on the given expressions
|
XPathResult | execute(XPathResult left, XPathResult right)
Executes this operator on the given XPath values
|
int | getOperatorType()
Returns the type for this Operator. |
Parameters: left the left-side expression right the right-side expression context the XPathContext
Returns: the XPathResult
Throws: XPathException when an error occurs during execution
Parameters: left the left-side expression right the right-side expression
Returns: the XPathResult
Throws: XPathException when an error occurs during execution
Returns: the operator type