com.saxonica.expr
Class RuleSetWithWarnings

java.lang.Object
  extended by 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

Constructor Summary
RuleSetWithWarnings(BuiltInRuleSet baseRuleSet)
           
 
Method Summary
 void process(Item item, ParameterSet parameters, ParameterSet tunnelParams, XPathContext context, int locationId)
          Perform the built-in template action for a given item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleSetWithWarnings

public RuleSetWithWarnings(BuiltInRuleSet baseRuleSet)
Method Detail

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 matched
parameters - the parameters supplied to apply-templates
tunnelParams - the tunnel parameters to be passed through
context - the dynamic evaluation context
locationId - 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.