Class DigesterFactory
java.lang.Object
org.apache.tomcat.util.descriptor.DigesterFactory
Wrapper class around the Digester that hide Digester's initialization
details.
-
Field Summary
Modifier and TypeFieldDescriptionMapping of well-known public IDs used by the Servlet API to the matching local resource.Mapping of well-known system IDs used by the Servlet API to the matching local resource. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Digester
newDigester
(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule, boolean blockExternal) Create aDigester
parser.
-
Field Details
-
SERVLET_API_PUBLIC_IDS
-
SERVLET_API_SYSTEM_IDS
-
-
Constructor Details
-
DigesterFactory
public DigesterFactory()
-
-
Method Details
-
newDigester
public static Digester newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule, boolean blockExternal) Create aDigester
parser.- Parameters:
xmlValidation
- turn on/off xml validationxmlNamespaceAware
- turn on/off namespace validationrule
- an instance ofRuleSet
used for parsing the xml.blockExternal
- turn on/off the blocking of external resources- Returns:
- a new digester
-