Class StringToCodepoints

All Implemented Interfaces:
Serializable, SourceLocator, LocationProvider, SaxonLocator, EvaluableItem, SequenceIterable, InstructionInfo, Locator

public class StringToCodepoints extends SystemFunction
This class supports the function string-to-codepoints()
See Also:
  • Constructor Details

    • StringToCodepoints

      public StringToCodepoints()
  • Method Details

    • iterate

      public SequenceIterator iterate(XPathContext c) throws XPathException
      Description copied from class: Expression
      Return an Iterator to iterate over the values of a sequence. The value of every expression can be regarded as a sequence, so this method is supported for all expressions. This default implementation handles iteration for expressions that return singleton values: for non-singleton expressions, the subclass must provide its own implementation.
      Specified by:
      iterate in interface SequenceIterable
      Overrides:
      iterate in class Expression
      Parameters:
      c - supplies the context for evaluation
      Returns:
      a SequenceIterator that can be used to iterate over the result of the expression
      Throws:
      XPathException - if any dynamic error occurs evaluating the expression