Class ShallowCopyAllRuleSet

  • All Implemented Interfaces:
    ContextOriginator, BuiltInRuleSet

    public class ShallowCopyAllRuleSet
    extends ShallowCopyRuleSet
    The built-in shallow-copy-all rule set proposed for XSLT 4.0, which is the same as shallow-copy, except for maps and arrays.
    • Method Detail

      • getInstance

        public static ShallowCopyAllRuleSet getInstance()
        Get the singleton instance of this class
        the singleton instance
      • process

        public void process​(Item item,
                            ParameterSet parameters,
                            ParameterSet tunnelParams,
                            Outputter out,
                            XPathContext context,
                            Location locationId)
                     throws XPathException
        Perform the built-in template action for a given node.
        Specified by:
        process in interface BuiltInRuleSet
        process in class ShallowCopyRuleSet
        item - the item to be processed by this built-in rule
        parameters - the parameters supplied to apply-templates
        tunnelParams - the tunnel parameters to be passed through
        out - the destination for output
        context - the dynamic evaluation context
        locationId - location of the instruction (apply-templates, apply-imports etc) that caused
        XPathException - if any dynamic error occurs