org.apache.commons.digester.xmlrules
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.


Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Methods inherited from class org.apache.commons.digester.Rule
body, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 



Copyright (c) 2001-2002 - Apache Software Foundation