Class Tokenize_3

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

public class Tokenize_3 extends RegexFunction
This class implements the 3-argument tokenize() function for regular expression matching. This returns a sequence of strings representing the unmatched substrings: the separators which match the regular expression are not returned.
  • Constructor Details

    • Tokenize_3

      public Tokenize_3()
  • Method Details

    • allowRegexMatchingEmptyString

      protected boolean allowRegexMatchingEmptyString()
      Specified by:
      allowRegexMatchingEmptyString in class RegexFunction
    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate the expression dynamically
      Parameters:
      context - the dynamic evaluation context
      arguments - the values of the arguments, supplied as SequenceIterators
      Returns:
      the result of the evaluation, in the form of a SequenceIterator
      Throws:
      XPathException - if a dynamic error occurs during the evaluation of the expression