Class DigesterFactory
java.lang.Object
org.apache.tomcat.util.descriptor.DigesterFactory
Wrapper class around the Digester that hide Digester's initialization
 details.
- 
Field SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic DigesternewDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule, boolean blockExternal) Create aDigesterparser.
- 
Field Details- 
SERVLET_API_PUBLIC_IDSMapping of well-known public IDs used by the Servlet API to the matching local resource.
- 
SERVLET_API_SYSTEM_IDSMapping of well-known system IDs used by the Servlet API to the matching local resource.
 
- 
- 
Constructor Details- 
DigesterFactorypublic DigesterFactory()
 
- 
- 
Method Details- 
newDigesterpublic static Digester newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule, boolean blockExternal) Create aDigesterparser.- Parameters:
- xmlValidation- turn on/off xml validation
- xmlNamespaceAware- turn on/off namespace validation
- rule- an instance of- RuleSetused for parsing the xml.
- blockExternal- turn on/off the blocking of external resources
- Returns:
- a new digester
 
 
-