org.apache.tomcat.util.descriptor
Class DigesterFactory
java.lang.Object
   org.apache.tomcat.util.descriptor.DigesterFactory
org.apache.tomcat.util.descriptor.DigesterFactory
- public class DigesterFactory 
- extends java.lang.Object
Wrapper class around the Digester that hide Digester's initialization
 details.
| Field Summary | 
| 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.
 | 
 
 
| Method Summary | 
| static Digester | newDigester(boolean xmlValidation,
            boolean xmlNamespaceAware,
            RuleSet rule,
            boolean blockExternal)Create a
 Digesterparser. | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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.
 
 
DigesterFactory
public DigesterFactory()
newDigester
public static Digester newDigester(boolean xmlValidation,
                                   boolean xmlNamespaceAware,
                                   RuleSet rule,
                                   boolean blockExternal)
- Create a Digesterparser.
 
- 
- 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
 
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.