Class AnalyzeUri

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

public class AnalyzeUri extends SystemFunction
This class implements the saxon:analyze-uri() function which returns a map containing the components of a URI
  • Constructor Details

    • AnalyzeUri

      public AnalyzeUri()
  • Method Details

    • call

      public MapItem call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate this function call at run-time
      Parameters:
      context - The XPath dynamic evaluation context. Not used in this case
      arguments - The values of the arguments to the function call. In this case there are none.
      Returns:
      the result of the function. This will have a timezone, specifically, the platform default timezone. The returned value will be an instance of the built-in subtype xs:dateTimeStamp
      Throws:
      XPathException - if a dynamic error occurs during the evaluation of the expression