javax.xml
Class XMLConstants

java.lang.Object
  extended byjavax.xml.XMLConstants

public class XMLConstants
extends Object

Utility class to contain basic XML values as constants.

Version:
1.0.proposed
Author:
JAXP Java Community Process, JAXP Reference Implementation
See Also:
Extensible Markup Language (XML) 1.0 (Second Edition), Namespaces in XML, Namespaces in XML Errata

Field Summary
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NS_PREFIX

public static final String DEFAULT_NS_PREFIX
Prefix to use to represent the default XML Namespace.

Defined by the XML specification to be "".

See Also:
Namespaces in XML, Constant Field Values

XML_NS_PREFIX

public static final String XML_NS_PREFIX
The official XML Namespace prefix.

Defined by the XML specification to be "xml".

See Also:
Namespaces in XML, Constant Field Values

XML_NS_URI

public static final String XML_NS_URI
The official XML Namespace name URI.

Defined by the XML specification to be "http://www.w3.org/XML/1998/namespace".

See Also:
Namespaces in XML, Constant Field Values

XMLNS_ATTRIBUTE

public static final String XMLNS_ATTRIBUTE
The official XML attribute used for specifying XML Namespace declarations.

It is not valid to use as a prefix. Defined by the XML specification to be "xmlns".

See Also:
Namespaces in XML, Constant Field Values

XMLNS_ATTRIBUTE_NS_URI

public static final String XMLNS_ATTRIBUTE_NS_URI
The official XML attribute used for specifying XML Namespace declarations, "xmlns", Namespace name URI.

Defined by the XML specification to be "http://www.w3.org/2000/xmlns/".

See Also:
Namespaces in XML, Namespaces in XML Errata, Constant Field Values

FEATURE_SECURE_PROCESSING

public static final String FEATURE_SECURE_PROCESSING

Feature for secure processing.

See Also:
Constant Field Values


Copyright © 2006,2007 Sun Microsystems, Inc. All rights reserved. See the Copyright Notice for details.