Class DigesterRuleParser.IncludeRule

java.lang.Object
org.apache.commons.digester.Rule
org.apache.commons.digester.xmlrules.DigesterRuleParser.IncludeRule
Enclosing class:
DigesterRuleParser

private class DigesterRuleParser.IncludeRule extends Rule
A rule for including one rules XML file within another. Included files behave as if they are 'macro-expanded' within the includer. This means that the values of the pattern stack are prefixed to every pattern in the included rules.

This rule will detect 'circular' includes, which would result in infinite recursion. It throws a CircularIncludeException when a cycle is detected, which will terminate the parse.