public class DeepCopyRuleSet extends java.lang.Object implements BuiltInRuleSet
APPLY_TEMPLATES_TO_ATTRIBUTES, APPLY_TEMPLATES_TO_CHILDREN, DEEP_COPY, DEEP_SKIP, FAIL, SHALLOW_COPY
Modifier and Type | Method and Description |
---|---|
int[] |
getActionForParentNodes(int nodeKind)
Get the default action for unmatched nodes
|
static DeepCopyRuleSet |
getInstance()
Get the singleton instance of this class
|
java.lang.String |
getName()
Identify this built-in rule set
|
void |
process(Item item,
ParameterSet parameters,
ParameterSet tunnelParams,
XPathContext context,
Location locationId)
Perform the built-in template action for a given node.
|
public static DeepCopyRuleSet getInstance()
public void process(Item item, ParameterSet parameters, ParameterSet tunnelParams, XPathContext context, Location locationId) throws XPathException
process
in interface BuiltInRuleSet
item
- parameters
- the parameters supplied to apply-templatestunnelParams
- the tunnel parameters to be passed throughcontext
- the dynamic evaluation contextlocationId
- location of the instruction (apply-templates, apply-imports etc) that caused
the built-in template to be invoked @throws net.sf.saxon.trans.XPathExceptionXPathException
- if any dynamic error occurspublic int[] getActionForParentNodes(int nodeKind)
getActionForParentNodes
in interface BuiltInRuleSet
nodeKind
- the node kindpublic java.lang.String getName()
getName
in interface BuiltInRuleSet
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.