Class DigesterFactory
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.DigesterFactory
-
public class DigesterFactory extends java.lang.ObjectWrapper class around the Digester that hide Digester's initialization details.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,java.lang.String>SERVLET_API_PUBLIC_IDSMapping of well-known public IDs used by the Servlet API to the matching local resource.static java.util.Map<java.lang.String,java.lang.String>SERVLET_API_SYSTEM_IDSMapping of well-known system IDs used by the Servlet API to the matching local resource.
-
Constructor Summary
Constructors Constructor Description DigesterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DigesternewDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule, boolean blockExternal)Create aDigesterparser.
-
-
-
Field Detail
-
SERVLET_API_PUBLIC_IDS
public static final java.util.Map<java.lang.String,java.lang.String> SERVLET_API_PUBLIC_IDS
Mapping of well-known public IDs used by the Servlet API to the matching local resource.
-
SERVLET_API_SYSTEM_IDS
public static final java.util.Map<java.lang.String,java.lang.String> SERVLET_API_SYSTEM_IDS
Mapping of well-known system IDs used by the Servlet API to the matching local resource.
-
-
Method Detail
-
newDigester
public static Digester newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule, boolean blockExternal)
Create aDigesterparser.- Parameters:
xmlValidation- turn on/off xml validationxmlNamespaceAware- turn on/off namespace validationrule- an instance ofRuleSetused for parsing the xml.blockExternal- turn on/off the blocking of external resources- Returns:
- a new digester
-
-