Package net.sf.saxon.trans.rules
Class ShallowCopyAllRuleSet
java.lang.Object
net.sf.saxon.trans.rules.ShallowCopyRuleSet
net.sf.saxon.trans.rules.ShallowCopyAllRuleSet
- All Implemented Interfaces:
ContextOriginator,BuiltInRuleSet
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 Summary
Modifier and TypeMethodDescriptionstatic ShallowCopyAllRuleSetGet the singleton instance of this classgetName()Identify this built-in rule setvoidprocess(Item item, ParameterSet parameters, ParameterSet tunnelParams, Outputter out, XPathContext context, Location locationId) Perform the built-in template action for a given node.Methods inherited from class net.sf.saxon.trans.rules.ShallowCopyRuleSet
getActionForParentNodes
-
Method Details
-
getInstance
Get the singleton instance of this class- Returns:
- 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:
processin interfaceBuiltInRuleSet- Overrides:
processin classShallowCopyRuleSet- Parameters:
item- the item to be processed by this built-in ruleparameters- the parameters supplied to apply-templatestunnelParams- the tunnel parameters to be passed throughout- the destination for outputcontext- the dynamic evaluation contextlocationId- location of the instruction (apply-templates, apply-imports etc) that caused- Throws:
XPathException- if any dynamic error occurs
-
getName
Identify this built-in rule set- Specified by:
getNamein interfaceBuiltInRuleSet- Overrides:
getNamein classShallowCopyRuleSet- Returns:
- "shallow-copy"
-