public class XMLConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NS_PREFIX
Prefix to use to represent the default XML Namespace.
|
static String |
FEATURE_SECURE_PROCESSING
Feature for secure processing.
|
static String |
XML_NS_PREFIX
The official XML Namespace prefix.
|
static String |
XML_NS_URI
The official XML Namespace name URI.
|
static String |
XMLNS_ATTRIBUTE
The official XML attribute used for specifying XML Namespace
declarations.
|
static String |
XMLNS_ATTRIBUTE_NS_URI
The official XML attribute used for specifying XML Namespace
declarations,
"xmlns" , Namespace name URI. |
public static final String DEFAULT_NS_PREFIX
Defined by the XML specification to be "".
public static final String XML_NS_PREFIX
Defined by the XML specification to be "xml
".
public static final String XML_NS_URI
Defined by the XML specification to be "http://www.w3.org/XML/1998/namespace
".
public static final String XMLNS_ATTRIBUTE
It is not valid to use as a prefix. Defined by the XML
specification to be "xmlns
".
public static final String XMLNS_ATTRIBUTE_NS_URI
"xmlns"
, Namespace name URI.
Defined by the XML specification to be "http://www.w3.org/2000/xmlns/
".
public static final String FEATURE_SECURE_PROCESSING
Feature for secure processing.
true
instructs the implementation to process XML securely.
This may set limits on XML constructs to avoid conditions such as denial of service attacks.
false
instructs the implementation to process XML according the letter of the XML specifications
ignoring security issues such as limits on XML constructs to avoid conditions such as denial of service attacks.