public class RuleSetWithWarnings extends java.lang.Object implements BuiltInRuleSet
XSLT 3.0 feature
APPLY_TEMPLATES_TO_ATTRIBUTES, APPLY_TEMPLATES_TO_CHILDREN, DEEP_COPY, DEEP_SKIP, FAIL, SHALLOW_COPY| Constructor and Description |
|---|
RuleSetWithWarnings(BuiltInRuleSet baseRuleSet) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getActionForParentNodes(int nodeKind)
Get the default action for unmatched nodes
|
BuiltInRuleSet |
getBaseRuleSet() |
java.lang.String |
getName()
Identify this built-in rule set
|
void |
outputWarning(Item item,
XPathContext context) |
void |
process(Item item,
ParameterSet parameters,
ParameterSet tunnelParams,
Outputter output,
XPathContext context,
Location locationId)
Perform the built-in template action for a given item.
|
public RuleSetWithWarnings(BuiltInRuleSet baseRuleSet)
public BuiltInRuleSet getBaseRuleSet()
public void process(Item item, ParameterSet parameters, ParameterSet tunnelParams, Outputter output, XPathContext context, Location locationId) throws XPathException
process in interface BuiltInRuleSetitem - the item to be matchedparameters - the parameters supplied to apply-templatestunnelParams - the tunnel parameters to be passed throughoutput - the destination for the resultcontext - 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 BuiltInRuleSetpublic void outputWarning(Item item, XPathContext context)
public int[] getActionForParentNodes(int nodeKind)
getActionForParentNodes in interface BuiltInRuleSetnodeKind - the node kindCopyright (c) 2004-2020 Saxonica Limited.