public class ShallowCopyRuleSet extends java.lang.Object implements BuiltInRuleSet
Modifier and Type | Method and Description |
---|---|
BuiltInRules[] |
getActionForParentNodes(int nodeKind)
Get the default action for unmatched nodes
|
static ShallowCopyRuleSet |
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,
Outputter out,
XPathContext context,
Location locationId)
Perform the built-in template action for a given node.
|
public static ShallowCopyRuleSet getInstance()
public void process(Item item, ParameterSet parameters, ParameterSet tunnelParams, Outputter out, XPathContext context, Location locationId) throws XPathException
process
in interface BuiltInRuleSet
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 causedXPathException
- if any dynamic error occurspublic java.lang.String getName()
getName
in interface BuiltInRuleSet
public BuiltInRules[] getActionForParentNodes(int nodeKind)
getActionForParentNodes
in interface BuiltInRuleSet
nodeKind
- the node kindCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.