org.apache.catalina.startup
public class DigesterFactory extends Object
| Field Summary | |
|---|---|
| protected static Log | log
The log. |
| Method Summary | |
|---|---|
| protected static void | configureSchema(Digester digester)
Turn on DTD and/or validation (based on the parser implementation) |
| static Digester | newDigester()
Create a Digester parser with no Rule
associated and XML validation turned off. |
| static Digester | newDigester(RuleSet rule)
Create a Digester parser with XML validation turned off. |
| static Digester | newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule)
Create a Digester parser. |
| protected static void | register(String resourceURL, String resourcePublicId)
Load the resource and add it to the resolver. |
| protected static void | registerLocalSchema()
Utilities used to force the parser to use local schema, when available,
instead of the schemaLocation XML element. |
Digester parser with no Rule
associated and XML validation turned off.Digester parser with XML validation turned off.Parameters: rule an instance of RuleSet used for parsing the xml.
Digester parser.Parameters: xmlValidation turn on/off xml validation xmlNamespaceAware turn on/off namespace validation rule an instance of RuleSet used for parsing the xml.
schemaLocation XML element.