Class PositionAndLast.Last

All Implemented Interfaces:
Callable, FunctionItem, GroundedValue, Item, Sequence
Enclosing class:
PositionAndLast

public static class PositionAndLast.Last extends PositionAndLast
  • Constructor Details

    • Last

      public Last()
  • Method Details

    • evaluateItem

      public Int64Value evaluateItem(XPathContext c) throws XPathException
      Description copied from class: PositionAndLast
      Evaluate in a general context
      Specified by:
      evaluateItem in class PositionAndLast
      Throws:
      XPathException
    • 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.
    • getElaborator

      public Elaborator getElaborator()
      Make an elaborator for a system function call on this function
      Overrides:
      getElaborator in class SystemFunction
      Returns:
      a suitable elaborator; or null if no custom elaborator is available