Interface Operator


  • public interface Operator
    Represents an Logical or Mathimatical Operator that operates on binary expressions.
    Version:
    $Revision: 3957 $
    Author:
    Keith Visco
    • Method Detail

      • getOperatorType

        int getOperatorType()
        Returns the type for this Operator. The operator type may be one of the pre-defined types, or a user-defined type.
        Returns:
        the operator type
      • execute

        XPathResult execute​(XPathResult left,
                            XPathResult right)
                     throws XPathException
        Executes this operator on the given XPath values
        Parameters:
        left - the left-side expression
        right - the right-side expression
        Returns:
        the XPathResult
        Throws:
        XPathException - when an error occurs during execution