| java.lang.Object org.apache.commons.digester.RuleSetBase org.apache.commons.digester.xmlrules.FromXmlRuleSet
FromXmlRuleSet | public class FromXmlRuleSet extends RuleSetBase (Code) | | A Digester rule set where the rules come from an XML file.
since: 1.2 |
DIGESTER_DTD_PATH | final public static String DIGESTER_DTD_PATH(Code) | | |
FromXmlRuleSet | public FromXmlRuleSet(URL rulesXml)(Code) | | Constructs a FromXmlRuleSet using the default DigesterRuleParser and
rulesDigester.
Parameters: rulesXml - the path to the XML document defining the Digester rules |
FromXmlRuleSet | public FromXmlRuleSet(URL rulesXml, Digester rulesDigester)(Code) | | Constructs a FromXmlRuleSet using the default DigesterRuleParser and
a ruleDigester for loading the rules xml.
Parameters: rulesXml - the path to the XML document defining the Digester rules Parameters: rulesDigester - the digester to read the rules xml. |
FromXmlRuleSet | public FromXmlRuleSet(URL rulesXml, DigesterRuleParser parser)(Code) | | Parameters: rulesXml - the path to the XML document defining the Digester rules Parameters: parser - an instance of DigesterRuleParser, for parsing the rules from XML |
FromXmlRuleSet | public FromXmlRuleSet(URL rulesXml, DigesterRuleParser parser, Digester rulesDigester)(Code) | | Parameters: rulesXml - the path to the XML document defining the Digester rules Parameters: parser - an instance of DigesterRuleParser, for parsing the rules from XML Parameters: rulesDigester - the digester used to load the Xml rules. |
FromXmlRuleSet | public FromXmlRuleSet(InputSource inputSource)(Code) | | Constructs a FromXmlRuleSet using the default DigesterRuleParser and
rulesDigester.
Parameters: inputSource - load the xml rules from this InputSource |
FromXmlRuleSet | public FromXmlRuleSet(InputSource inputSource, Digester rulesDigester)(Code) | | Constructs a FromXmlRuleSet using the default DigesterRuleParser and
a ruleDigester for loading the rules xml.
Parameters: inputSource - load the xml rules from this InputSource Parameters: rulesDigester - the digester to read the rules xml. |
FromXmlRuleSet | public FromXmlRuleSet(InputSource inputSource, DigesterRuleParser parser)(Code) | | Parameters: inputSource - load the xml rules from this InputSource Parameters: parser - an instance of DigesterRuleParser, for parsing the rules from XML |
FromXmlRuleSet | public FromXmlRuleSet(InputSource inputSource, DigesterRuleParser parser, Digester rulesDigester)(Code) | | Parameters: inputSource - load the xml rules from this InputSource Parameters: parser - an instance of DigesterRuleParser, for parsing the rules from XML Parameters: rulesDigester - the digester used to load the Xml rules. |
addRuleInstances | public void addRuleInstances(org.apache.commons.digester.Digester digester, String basePath) throws XmlLoadException(Code) | | Adds to the digester the set of Rule instances defined in the
XML file for this rule set.
Note that this method doesn't have a matching one on the DigesterLoader
class, because it is not expected to be widely used, and DigesterLoader's
load method is already heavily overloaded.
Parameters: digester - is the digester that rules will be added to. Parameters: basePath - is a path that will be prefixed to everypattern string defined in the xmlrules input file. See Also: org.apache.commons.digester.RuleSetBase since: 1.6 |
|
|