public class FailRuleSet extends Object implements BuiltInRuleSet
DEEP_COPY, DEEP_SKIP, FAIL, SHALLOW_COPY, SHALLOW_SKIP, TEXT_COPY
Modifier and Type | Method and Description |
---|---|
int |
getDefaultAction(int nodeKind)
Get the default action for unmatched nodes
|
static FailRuleSet |
getInstance()
Get the singleton instance of this class
|
void |
process(Item item,
ParameterSet parameters,
ParameterSet tunnelParams,
XPathContext context,
int locationId)
Perform the built-in template action for a given item.
|
public static FailRuleSet getInstance()
public void process(Item item, ParameterSet parameters, ParameterSet tunnelParams, XPathContext context, int locationId) throws XPathException
process
in interface BuiltInRuleSet
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 net.sf.saxon.trans.XPathException
if any dynamic error occursXPathException
- if any dynamic error occurspublic int getDefaultAction(int nodeKind)
getDefaultAction
in interface BuiltInRuleSet
nodeKind
- the node kindCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.