public class ContextRuleSet extends RuleSetBase (Code)
RuleSet for processing the contents of a
Context or DefaultContext definition element. To enable parsing of a
DefaultContext, be sure to specify a prefix that ends with "/Default".
Construct an instance of this RuleSet with the specified
matching pattern prefix.
Parameters: prefix - Prefix for matching pattern rules (including thetrailing slash character)
Method Detail
addRuleInstances
public void addRuleInstances(Digester digester)(Code)
Add the set of Rule instances defined in this RuleSet to the
specified Digester instance, associating them with
our namespace URI (if any). This method should only be called
by a Digester instance.
Parameters: digester - Digester instance to which the new Rule instancesshould be added.