Class CharactersFn

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

public class CharactersFn extends SystemFunction
Implements the saxon:characters() or fn:characters() function. This splits a supplied string into a sequence of single-character strings
  • Constructor Details

    • CharactersFn

      public CharactersFn()
  • Method Details

    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate this function call
      Parameters:
      context - The XPath dynamic evaluation context
      arguments - The values of the arguments to the function call. Each argument value (which is in general a sequence) is supplied in the form of a sequence.
      Returns:
      the results of the function.
      Throws:
      XPathException - if a dynamic error occurs during evaluation of the function. The Saxon run-time code will add information about the error location.