| java.lang.Object org.apache.catalina.startup.DigesterFactory
DigesterFactory | public class DigesterFactory (Code) | | Wrapper class around the Digester that hide Digester's initialization details
author: Jean-Francois Arcand |
Method Summary | |
public static Digester | newDigester() Create a Digester parser with no Rule
associated and XML validation turned off. | public static Digester | newDigester(RuleSet rule) Create a Digester parser with XML validation turned off. | public static Digester | newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule) Create a Digester parser. | protected static void | register(String resourceURL, String resourcePublicId) | protected static void | registerLocalSchema() Utilities used to force the parser to use local schema, when available,
instead of the schemaLocation XML element. | protected static void | turnOnValidation(Digester digester) | protected static void | turnOnXercesValidation(Digester digester) Turn on schema AND DTD validation on Xerces parser. |
newDigester | public static Digester newDigester()(Code) | | Create a Digester parser with no Rule
associated and XML validation turned off.
|
newDigester | public static Digester newDigester(RuleSet rule)(Code) | | Create a Digester parser with XML validation turned off.
* @param rule an instance of Rule |
newDigester | public static Digester newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule)(Code) | | Create a Digester parser.
Parameters: xmlValidation - turn on/off xml validation Parameters: xmlNamespaceAware - turn on/off namespace validation Parameters: rule - an instance of Rule |
register | protected static void register(String resourceURL, String resourcePublicId)(Code) | | Load the resource and add it to the
|
registerLocalSchema | protected static void registerLocalSchema()(Code) | | Utilities used to force the parser to use local schema, when available,
instead of the schemaLocation XML element.
|
turnOnValidation | protected static void turnOnValidation(Digester digester)(Code) | | Turn on DTD and/or validation (based on the parser implementation)
|
turnOnXercesValidation | protected static void turnOnXercesValidation(Digester digester)(Code) | | Turn on schema AND DTD validation on Xerces parser.
|
|
|