|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.startup.DigesterFactory
Wrapper class around the Digester that hide Digester's initialization details
Field Summary | |
protected static org.apache.commons.logging.Log |
log
The log. |
Constructor Summary | |
DigesterFactory()
|
Method Summary | |
static Digester |
newDigester()
Create a Digester parser with no Rule
associated and XML validation turned off. |
static Digester |
newDigester(boolean xmlValidation,
boolean xmlNamespaceAware,
RuleSet rule)
Create a Digester parser. |
static Digester |
newDigester(RuleSet rule)
Create a Digester parser with XML validation turned off. |
protected static void |
register(java.lang.String resourceURL,
java.lang.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. |
protected static void |
turnOnValidation(Digester digester)
Turn on DTD and/or validation (based on the parser implementation) |
protected static void |
turnOnXercesValidation(Digester digester)
Turn on schema AND DTD validation on Xerces parser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.commons.logging.Log log
Constructor Detail |
public DigesterFactory()
Method Detail |
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 turnOnValidation(Digester digester)
protected static void turnOnXercesValidation(Digester digester)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |