Class SchemaTypeFn

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

public class SchemaTypeFn extends SystemFunction
This class supports the proposed QT4 function fn:schema-type.
  • Constructor Details

    • SchemaTypeFn

      public SchemaTypeFn()
  • Method Details

    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate this function call at run-time
      Parameters:
      context - The XPath dynamic evaluation context
      arguments - The values of the arguments to the function call.
      Returns:
      the results of the function, as a sequence of arrays
      Throws:
      XPathException - if a dynamic error occurs during evaluation of the function. The Saxon run-time code will add information about the error location.
    • makeSchemaRecord

      public static MapItem makeSchemaRecord(SchemaType st)