org.apache.catalina.startup
DigesterFactory
@Deprecated public class DigesterFactory extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static Log |
log
Deprecated.
The log.
|
Constructor and Description |
---|
DigesterFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
configureSchema(Digester digester)
Deprecated.
Turn on DTD and/or validation (based on the parser implementation)
|
static Digester |
newDigester()
Deprecated.
Create a
Digester parser with no Rule
associated and XML validation turned off. |
static Digester |
newDigester(boolean xmlValidation,
boolean xmlNamespaceAware,
RuleSet rule)
Deprecated.
Create a
Digester parser. |
static Digester |
newDigester(RuleSet rule)
Deprecated.
Create a
Digester parser with XML validation turned off. |
protected static void |
register(java.lang.String resourceURL,
java.lang.String resourcePublicId)
Deprecated.
Load the resource and add it to the resolver.
|
protected static void |
registerLocalSchema()
Deprecated.
Utilities used to force the parser to use local schema, when available,
instead of the
schemaLocation XML element. |
protected static Log log
public static Digester newDigester()
Digester
parser with no Rule
associated and XML validation turned off.public static Digester newDigester(RuleSet rule)
Digester
parser with XML validation turned off.rule
- an instance of RuleSet
used for parsing the xml.public static Digester newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule)
Digester
parser.xmlValidation
- turn on/off xml validationxmlNamespaceAware
- turn on/off namespace validationrule
- an instance of RuleSet
used for parsing the xml.protected static void registerLocalSchema()
schemaLocation
XML element.protected static void register(java.lang.String resourceURL, java.lang.String resourcePublicId)
protected static void configureSchema(Digester digester)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.