javax.xml

Class XMLConstants


public final class XMLConstants
extends Object

Repository for well-known XML constants.
Since:
1.5

Field Summary

static String
DEFAULT_NS_PREFIX
Dummy namespace prefix indicating that there is no namespace.
static String
FEATURE_SECURE_PROCESSING
DOM feature for secure processing.
static String
NULL_NS_URI
Dummy namespace URI indicating that there is no namespace.
static String
RELAXNG_NS_URI
The RELAX NG Namespace URI.
static String
W3C_XML_SCHEMA_INSTANCE_NS_URI
The XML Schema Instance (XSI) namespace URI.
static String
W3C_XML_SCHEMA_NS_URI
The XML Schema (XSD) namespace URI.
static String
W3C_XPATH_DATATYPE_NS_URI
The XPath 2.0 datatypes namespace URI.
static String
XMLNS_ATTRIBUTE
The XML Namespace declaration attribute.
static String
XMLNS_ATTRIBUTE_NS_URI
The XML Namespace declaration URI.
static String
XML_DTD_NS_URI
The XML DTD namespace URI.
static String
XML_NS_PREFIX
The XML Namespace prefix.
static String
XML_NS_URI
The XML Namespace URI.

Method Summary

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

DEFAULT_NS_PREFIX

public static final String DEFAULT_NS_PREFIX
Dummy namespace prefix indicating that there is no namespace.
Field Value:
""
See Also:
http://www.w3.org/TR/REC-xml-names/.ns-qualnames

FEATURE_SECURE_PROCESSING

public static final String FEATURE_SECURE_PROCESSING
DOM feature for secure processing.
Field Value:
"http://javax.xml.XMLConstants/feature/secure-processing"

NULL_NS_URI

public static final String NULL_NS_URI
Dummy namespace URI indicating that there is no namespace.
Field Value:
""
See Also:
http://www.w3.org/TR/REC-xml-names/.defaulting

RELAXNG_NS_URI

public static final String RELAXNG_NS_URI
The RELAX NG Namespace URI.
Field Value:
"http://relaxng.org/ns/structure/1.0"
See Also:
http://relaxng.org/spec-20011203.html

W3C_XML_SCHEMA_INSTANCE_NS_URI

public static final String W3C_XML_SCHEMA_INSTANCE_NS_URI
The XML Schema Instance (XSI) namespace URI.
Field Value:
"http://www.w3.org/2001/XMLSchema-instance"
See Also:
http://www.w3.org/TR/xmlschema-1/.Instance_Document_Constructions

W3C_XML_SCHEMA_NS_URI

public static final String W3C_XML_SCHEMA_NS_URI
The XML Schema (XSD) namespace URI.
Field Value:
"http://www.w3.org/2001/XMLSchema"
See Also:
http://www.w3.org/TR/xmlschema-1/.Instance_Document_Constructions

W3C_XPATH_DATATYPE_NS_URI

public static final String W3C_XPATH_DATATYPE_NS_URI
The XPath 2.0 datatypes namespace URI.
Field Value:
"http://www.w3.org/2003/11/xpath-datatypes"
See Also:
http://www.w3.org/TR/xpath-datamodel

XMLNS_ATTRIBUTE

public static final String XMLNS_ATTRIBUTE
The XML Namespace declaration attribute.
Field Value:
"xmlns"
See Also:
http://www.w3.org/TR/REC-xml-names/.ns-qualnames

XMLNS_ATTRIBUTE_NS_URI

public static final String XMLNS_ATTRIBUTE_NS_URI
The XML Namespace declaration URI.
Field Value:
"http://www.w3.org/2000/xmlns/"
See Also:
http://www.w3.org/TR/REC-xml-names/.ns-qualnames

XML_DTD_NS_URI

public static final String XML_DTD_NS_URI
The XML DTD namespace URI.
Field Value:
"http://www.w3.org/TR/REC-xml"

XML_NS_PREFIX

public static final String XML_NS_PREFIX
The XML Namespace prefix.
Field Value:
"xml"
See Also:
http://www.w3.org/TR/REC-xml-names/.ns-qualnames

XML_NS_URI

public static final String XML_NS_URI
The XML Namespace URI.
Field Value:
"http://www.w3.org/XML/1998/namespace"
See Also:
http://www.w3.org/TR/REC-xml-names/.ns-qualnames

XMLConstants.java -- Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.