com.saxonica.expr
Class RuleSetWithWarnings
java.lang.Object
com.saxonica.expr.RuleSetWithWarnings
- All Implemented Interfaces:
- Serializable, BuiltInRuleSet
public class RuleSetWithWarnings
- extends Object
- implements BuiltInRuleSet
A set of built-in template rules that performs the same action as an underlying set of rules,
but with the addition of a warning message saying that no user-defined template rules was found.
XSLT 3.0 feature
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleSetWithWarnings
public RuleSetWithWarnings(BuiltInRuleSet baseRuleSet)
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 interface BuiltInRuleSet
- Parameters:
item
- the item to be matchedparameters
- 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 occurs
- Throws:
XPathException
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.