Class DeepEqual20

All Implemented Interfaces:
Callable, IFunctionWithRetainedParameterNames, StatefulSystemFunction, FunctionItem, GroundedValue, Item, Sequence

public class DeepEqual20 extends CollatingFunctionFixed
XSLT 2.0 deep-equal() function, where the collation is already known. Supports deep comparison of two sequences (of nodes and/or atomic values) optionally using a collation
  • Constructor Details

    • DeepEqual20

      public DeepEqual20()
  • Method Details

    • call

      public BooleanValue call(XPathContext context, Sequence[] arguments) throws XPathException
      Execute a dynamic call to the function
      Parameters:
      context - the dynamic evaluation context
      arguments - the values of the arguments, supplied as Sequences.
      Returns:
      the result of the evaluation, in the form of a Sequence. It is the responsibility of the callee to ensure that the type of result conforms to the expected result type.
      Throws:
      XPathException - (should not happen)
    • getStreamerName

      public String getStreamerName()
      Description copied from class: SystemFunction
      Get a name that identifies the class that can be used to evaluate this function in streaming mode, that is, supplying one item or event at a time as it is delivered by the parser. Special streaming support is generally available in Saxon-EE for all system functions that take a sequence as their argument.
      Overrides:
      getStreamerName in class SystemFunction
      Returns:
      a name that identifies a class that supports streamed evaluation of this system function, or null if no such class is available. The mapping of names to classes is defined in the Saxon-EE class StreamerMap. In non-streaming Saxon editions (HE and PE) the method always returns null.