public class DigesterFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static 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.
|
static 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.
|
Constructor and Description |
---|
DigesterFactory() |
Modifier and Type | Method and Description |
---|---|
static Digester |
newDigester(boolean xmlValidation,
boolean xmlNamespaceAware,
RuleSet rule,
boolean blockExternal)
Create a
Digester parser. |
public static final java.util.Map<java.lang.String,java.lang.String> SERVLET_API_PUBLIC_IDS
public static final java.util.Map<java.lang.String,java.lang.String> SERVLET_API_SYSTEM_IDS
public static Digester newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule, boolean blockExternal)
Digester
parser.xmlValidation
- turn on/off xml validationxmlNamespaceAware
- turn on/off namespace validationrule
- an instance of RuleSet
used for parsing the xml.blockExternal
- turn on/off the blocking of external resourcesCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.