Package net.sf.saxon.trans
Class ShallowSkipRuleSet
java.lang.Object
net.sf.saxon.trans.ShallowSkipRuleSet
- All Implemented Interfaces:
Serializable
,BuiltInRuleSet
The built-in rule set used for 1.0 and 2.0, which for document and element nodes does an apply-templates
to children, and for text nodes and attribute nodes copies the node.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShallowSkipRuleSet
Get the singleton instance of this classvoid
process
(Item item, ParameterSet parameters, ParameterSet tunnelParams, XPathContext context, int locationId) Perform the built-in template action for a given item.
-
Method Details
-
getInstance
Get the singleton instance of this class- Returns:
- the singleton instance
-
process
public void process(Item item, ParameterSet parameters, ParameterSet tunnelParams, XPathContext context, int locationId) throws XPathException Perform the built-in template action for a given item.- Specified by:
process
in interfaceBuiltInRuleSet
- Parameters:
item
- the item to be processedparameters
- 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:
XPathException
- if any dynamic error occurs
-