Class KeyMap

  • All Implemented Interfaces:
    Callable, Function, GroundedValue, Item, Sequence

    public class KeyMap
    extends SystemFunction
    Implementation of the saxon:key-map() extension function. Introduced in 9.5. Views an index, as built using xsl:key, as a map, allowing queries to get the values corresponding to a range of key values, in sorted order.
    • Constructor Detail

      • KeyMap

        public KeyMap()
    • Method Detail

      • call

        public MapItem call​(XPathContext context,
                            Sequence[] arguments)
                     throws XPathException
        Description copied from interface: Function
        Invoke the function
        Parameters:
        context - the XPath dynamic evaluation context
        arguments - the actual arguments to be supplied
        Returns:
        the result of invoking the function
        Throws:
        XPathException - if a dynamic error occurs within the function