EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.oxm
Class XMLConstants

java.lang.Object
  extended by org.eclipse.persistence.oxm.XMLConstants

public class XMLConstants
extends java.lang.Object

XMLConstants maintains a list of useful XML constants.

This includes constants for built-in schema types as well as QNames which represent those built-in schema types. These QName constants can be used, for example, when adding conversion pairs to XMLFields and when adding schema types to an XMLUnionField.

Code Sample

XMLUnionField unionField = new XMLUnionField("myElement");
unionField.addSchemaType(XMLConstants.INTEGER_QNAME);
unionField.addSchemaType(XMLConstants.DATE_QNAME);


Field Summary
static java.lang.String ANY
           
static java.lang.String ANY_NAMESPACE_ANY
           
static java.lang.String ANY_NAMESPACE_LOCAL
           
static java.lang.String ANY_NAMESPACE_OTHER
           
static java.lang.String ANY_NAMESPACE_TARGETNS
           
static javax.xml.namespace.QName ANY_QNAME
           
static java.lang.String ANY_SIMPLE_TYPE
           
static javax.xml.namespace.QName ANY_SIMPLE_TYPE_QNAME
           
static java.lang.String ANY_TYPE
           
static javax.xml.namespace.QName ANY_TYPE_QNAME
           
static java.lang.String ANY_URI
           
static javax.xml.namespace.QName ANY_URI_QNAME
           
static java.lang.Character ATTRIBUTE
           
static java.lang.String BASE_64_BINARY
           
static javax.xml.namespace.QName BASE_64_BINARY_QNAME
           
static java.lang.String BOOLEAN
           
static javax.xml.namespace.QName BOOLEAN_QNAME
           
static java.lang.String BOOLEAN_STRING_FALSE
           
static java.lang.String BOOLEAN_STRING_TRUE
           
static java.lang.String BYTE
           
static javax.xml.namespace.QName BYTE_QNAME
           
static java.lang.String CDATA
           
static char COLON
           
static java.lang.String CONTENT_TYPE
           
static java.lang.String DATE
           
static javax.xml.namespace.QName DATE_QNAME
           
static java.lang.String DATE_TIME
           
static javax.xml.namespace.QName DATE_TIME_QNAME
           
static java.lang.String DECIMAL
           
static javax.xml.namespace.QName DECIMAL_QNAME
           
static java.lang.String DEFAULT_XML_ENCODING
           
static char DOT
           
static java.lang.String DOUBLE
           
static javax.xml.namespace.QName DOUBLE_QNAME
           
static java.lang.String DURATION
           
static javax.xml.namespace.QName DURATION_QNAME
           
static char[] EMPTY_CHAR_ARRAY
           
static java.lang.String EMPTY_STRING
           
static java.lang.String EXPECTED_CONTENT_TYPES
           
static javax.xml.namespace.QName EXPECTED_CONTENT_TYPES_QNAME
           
static java.lang.String FLOAT
           
static javax.xml.namespace.QName FLOAT_QNAME
           
static java.lang.String G_DAY
           
static javax.xml.namespace.QName G_DAY_QNAME
           
static java.lang.String G_MONTH
           
static java.lang.String G_MONTH_DAY
           
static javax.xml.namespace.QName G_MONTH_DAY_QNAME
           
static javax.xml.namespace.QName G_MONTH_QNAME
           
static java.lang.String G_YEAR
           
static java.lang.String G_YEAR_MONTH
           
static javax.xml.namespace.QName G_YEAR_MONTH_QNAME
           
static javax.xml.namespace.QName G_YEAR_QNAME
           
static java.lang.String HEX_BINARY
           
static javax.xml.namespace.QName HEX_BINARY_QNAME
           
static java.lang.String INT
           
static javax.xml.namespace.QName INT_QNAME
           
static java.lang.String INTEGER
           
static javax.xml.namespace.QName INTEGER_QNAME
           
static java.lang.String JAXB_FRAGMENT
           
static java.lang.String JAXB_MARSHALLER
           
static java.lang.String LEXICAL_HANDLER_PROPERTY
           
static java.lang.Class LOCATOR_CLASS
           
static java.lang.String LOCATOR_CLASS_NAME
           
static java.lang.String LONG
           
static javax.xml.namespace.QName LONG_QNAME
           
static java.lang.String NAME
           
static javax.xml.namespace.QName NAME_QNAME
           
static java.lang.String NCNAME
           
static javax.xml.namespace.QName NCNAME_QNAME
           
static java.lang.String NEGATIVE_INFINITY
           
static java.lang.String NEGATIVE_INTEGER
           
static javax.xml.namespace.QName NEGATIVE_INTEGER_QNAME
           
static java.lang.String NO_NS_SCHEMA_LOCATION
           
static java.lang.String NON_NEGATIVE_INTEGER
           
static javax.xml.namespace.QName NON_NEGATIVE_INTEGER_QNAME
           
static java.lang.String NON_POSITIVE_INTEGER
           
static javax.xml.namespace.QName NON_POSITIVE_INTEGER_QNAME
           
static java.lang.String NORMALIZED_STRING
           
static javax.xml.namespace.QName NORMALIZEDSTRING_QNAME
           
static java.lang.String NOTATION
           
static javax.xml.namespace.QName NOTATION_QNAME
           
static java.lang.String POSITIVE_INFINITY
           
static java.lang.String POSITIVE_INTEGER
           
static javax.xml.namespace.QName POSITIVE_INTEGER_QNAME
           
static java.lang.String QNAME
           
static java.lang.Class QNAME_CLASS
           
static javax.xml.namespace.QName QNAME_QNAME
           
static java.lang.String QUALIFIED
           
static java.lang.String REF_PREFIX
           
static java.lang.String REF_URL
           
static java.lang.String SCHEMA_INSTANCE_PREFIX
           
static java.lang.String SCHEMA_INSTANCE_URL
           
static java.lang.String SCHEMA_LOCATION
           
static java.lang.String SCHEMA_NIL_ATTRIBUTE
           
static java.lang.String SCHEMA_PREFIX
           
static java.lang.String SCHEMA_TYPE_ATTRIBUTE
           
static java.lang.String SCHEMA_URL
           
static java.lang.String SHORT
           
static javax.xml.namespace.QName SHORT_QNAME
           
static java.lang.String STRING
           
static javax.xml.namespace.QName STRING_QNAME
           
static java.lang.String SWA_REF
           
static javax.xml.namespace.QName SWA_REF_QNAME
           
static java.lang.String SWAREF_XSD
           
static java.lang.String TARGET_NAMESPACE_PREFIX
           
static java.lang.String TEXT
           
static java.lang.String TIME
           
static javax.xml.namespace.QName TIME_QNAME
           
static java.lang.String UNKNOWN_OR_TRANSIENT_CLASS
           
static java.lang.String UNQUALIFIED
           
static java.lang.String UNSIGNED_BYTE
           
static javax.xml.namespace.QName UNSIGNED_BYTE_QNAME
           
static java.lang.String UNSIGNED_INT
           
static javax.xml.namespace.QName UNSIGNED_INT_QNAME
           
static java.lang.String UNSIGNED_LONG
           
static javax.xml.namespace.QName UNSIGNED_LONG_QNAME
           
static java.lang.String UNSIGNED_SHORT
           
static javax.xml.namespace.QName UNSIGNED_SHORT_QNAME
           
static java.lang.Class URI
           
static java.lang.Class UUID
           
static java.lang.String VALUE_WRAPPER
           
static java.lang.String XML_MIME_URL
           
static java.lang.String XML_NAMESPACE_PREFIX
           
static java.lang.String XML_NAMESPACE_SCHEMA_LOCATION
           
static java.lang.String XML_NAMESPACE_URL
           
static java.lang.String XMLNS
           
static java.lang.String XMLNS_URL
           
static java.lang.String XOP_PREFIX
           
static java.lang.String XOP_URL
           
static java.lang.String XPATH_INDEX_CLOSED
           
static java.lang.String XPATH_INDEX_OPEN
           
static java.lang.String XPATH_SEPARATOR
           
 
Constructor Summary
XMLConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLON

public static final char COLON
See Also:
Constant Field Values

DOT

public static final char DOT
See Also:
Constant Field Values

ATTRIBUTE

public static final java.lang.Character ATTRIBUTE

XPATH_SEPARATOR

public static final java.lang.String XPATH_SEPARATOR
See Also:
Constant Field Values

XPATH_INDEX_OPEN

public static final java.lang.String XPATH_INDEX_OPEN
See Also:
Constant Field Values

XPATH_INDEX_CLOSED

public static final java.lang.String XPATH_INDEX_CLOSED
See Also:
Constant Field Values

TEXT

public static final java.lang.String TEXT
See Also:
Constant Field Values

EMPTY_STRING

public static final java.lang.String EMPTY_STRING
See Also:
Constant Field Values

CDATA

public static final java.lang.String CDATA
See Also:
Constant Field Values

SCHEMA_PREFIX

public static final java.lang.String SCHEMA_PREFIX
See Also:
Constant Field Values

SCHEMA_URL

public static final java.lang.String SCHEMA_URL
See Also:
Constant Field Values

SCHEMA_INSTANCE_PREFIX

public static final java.lang.String SCHEMA_INSTANCE_PREFIX
See Also:
Constant Field Values

SCHEMA_INSTANCE_URL

public static final java.lang.String SCHEMA_INSTANCE_URL
See Also:
Constant Field Values

TARGET_NAMESPACE_PREFIX

public static final java.lang.String TARGET_NAMESPACE_PREFIX
See Also:
Constant Field Values

NO_NS_SCHEMA_LOCATION

public static final java.lang.String NO_NS_SCHEMA_LOCATION
See Also:
Constant Field Values

SCHEMA_LOCATION

public static final java.lang.String SCHEMA_LOCATION
See Also:
Constant Field Values

XMLNS

public static final java.lang.String XMLNS
See Also:
Constant Field Values

XMLNS_URL

public static final java.lang.String XMLNS_URL
See Also:
Constant Field Values

XML_NAMESPACE_PREFIX

public static final java.lang.String XML_NAMESPACE_PREFIX
See Also:
Constant Field Values

XML_NAMESPACE_URL

public static final java.lang.String XML_NAMESPACE_URL
See Also:
Constant Field Values

XML_NAMESPACE_SCHEMA_LOCATION

public static final java.lang.String XML_NAMESPACE_SCHEMA_LOCATION
See Also:
Constant Field Values

SCHEMA_TYPE_ATTRIBUTE

public static final java.lang.String SCHEMA_TYPE_ATTRIBUTE
See Also:
Constant Field Values

SCHEMA_NIL_ATTRIBUTE

public static final java.lang.String SCHEMA_NIL_ATTRIBUTE
See Also:
Constant Field Values

REF_URL

public static final java.lang.String REF_URL
See Also:
Constant Field Values

REF_PREFIX

public static final java.lang.String REF_PREFIX
See Also:
Constant Field Values

SWAREF_XSD

public static final java.lang.String SWAREF_XSD
See Also:
Constant Field Values

XOP_URL

public static final java.lang.String XOP_URL
See Also:
Constant Field Values

XOP_PREFIX

public static final java.lang.String XOP_PREFIX
See Also:
Constant Field Values

QNAME_CLASS

public static final java.lang.Class QNAME_CLASS

DEFAULT_XML_ENCODING

public static final java.lang.String DEFAULT_XML_ENCODING
See Also:
Constant Field Values

CONTENT_TYPE

public static final java.lang.String CONTENT_TYPE
See Also:
Constant Field Values

EXPECTED_CONTENT_TYPES

public static final java.lang.String EXPECTED_CONTENT_TYPES
See Also:
Constant Field Values

XML_MIME_URL

public static final java.lang.String XML_MIME_URL
See Also:
Constant Field Values

LEXICAL_HANDLER_PROPERTY

public static final java.lang.String LEXICAL_HANDLER_PROPERTY
See Also:
Constant Field Values

ANY

public static final java.lang.String ANY
See Also:
Constant Field Values

BASE_64_BINARY

public static final java.lang.String BASE_64_BINARY
See Also:
Constant Field Values

BOOLEAN

public static final java.lang.String BOOLEAN
See Also:
Constant Field Values

BYTE

public static final java.lang.String BYTE
See Also:
Constant Field Values

DATE

public static final java.lang.String DATE
See Also:
Constant Field Values

DATE_TIME

public static final java.lang.String DATE_TIME
See Also:
Constant Field Values

DECIMAL

public static final java.lang.String DECIMAL
See Also:
Constant Field Values

DOUBLE

public static final java.lang.String DOUBLE
See Also:
Constant Field Values

DURATION

public static final java.lang.String DURATION
See Also:
Constant Field Values

FLOAT

public static final java.lang.String FLOAT
See Also:
Constant Field Values

G_DAY

public static final java.lang.String G_DAY
See Also:
Constant Field Values

G_MONTH

public static final java.lang.String G_MONTH
See Also:
Constant Field Values

G_MONTH_DAY

public static final java.lang.String G_MONTH_DAY
See Also:
Constant Field Values

G_YEAR

public static final java.lang.String G_YEAR
See Also:
Constant Field Values

G_YEAR_MONTH

public static final java.lang.String G_YEAR_MONTH
See Also:
Constant Field Values

HEX_BINARY

public static final java.lang.String HEX_BINARY
See Also:
Constant Field Values

INT

public static final java.lang.String INT
See Also:
Constant Field Values

INTEGER

public static final java.lang.String INTEGER
See Also:
Constant Field Values

LONG

public static final java.lang.String LONG
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

NCNAME

public static final java.lang.String NCNAME
See Also:
Constant Field Values

NEGATIVE_INTEGER

public static final java.lang.String NEGATIVE_INTEGER
See Also:
Constant Field Values

NON_NEGATIVE_INTEGER

public static final java.lang.String NON_NEGATIVE_INTEGER
See Also:
Constant Field Values

NON_POSITIVE_INTEGER

public static final java.lang.String NON_POSITIVE_INTEGER
See Also:
Constant Field Values

NOTATION

public static final java.lang.String NOTATION
See Also:
Constant Field Values

POSITIVE_INTEGER

public static final java.lang.String POSITIVE_INTEGER
See Also:
Constant Field Values

NORMALIZED_STRING

public static final java.lang.String NORMALIZED_STRING
See Also:
Constant Field Values

QNAME

public static final java.lang.String QNAME
See Also:
Constant Field Values

QUALIFIED

public static final java.lang.String QUALIFIED
See Also:
Constant Field Values

SHORT

public static final java.lang.String SHORT
See Also:
Constant Field Values

STRING

public static final java.lang.String STRING
See Also:
Constant Field Values

TIME

public static final java.lang.String TIME
See Also:
Constant Field Values

UNQUALIFIED

public static final java.lang.String UNQUALIFIED
See Also:
Constant Field Values

UNSIGNED_BYTE

public static final java.lang.String UNSIGNED_BYTE
See Also:
Constant Field Values

UNSIGNED_INT

public static final java.lang.String UNSIGNED_INT
See Also:
Constant Field Values

UNSIGNED_SHORT

public static final java.lang.String UNSIGNED_SHORT
See Also:
Constant Field Values

UNSIGNED_LONG

public static final java.lang.String UNSIGNED_LONG
See Also:
Constant Field Values

ANY_SIMPLE_TYPE

public static final java.lang.String ANY_SIMPLE_TYPE
See Also:
Constant Field Values

ANY_TYPE

public static final java.lang.String ANY_TYPE
See Also:
Constant Field Values

ANY_URI

public static final java.lang.String ANY_URI
See Also:
Constant Field Values

SWA_REF

public static final java.lang.String SWA_REF
See Also:
Constant Field Values

UNKNOWN_OR_TRANSIENT_CLASS

public static final java.lang.String UNKNOWN_OR_TRANSIENT_CLASS
See Also:
Constant Field Values

ANY_QNAME

public static final javax.xml.namespace.QName ANY_QNAME

ANY_SIMPLE_TYPE_QNAME

public static final javax.xml.namespace.QName ANY_SIMPLE_TYPE_QNAME

ANY_TYPE_QNAME

public static final javax.xml.namespace.QName ANY_TYPE_QNAME

ANY_URI_QNAME

public static final javax.xml.namespace.QName ANY_URI_QNAME

BASE_64_BINARY_QNAME

public static final javax.xml.namespace.QName BASE_64_BINARY_QNAME

HEX_BINARY_QNAME

public static final javax.xml.namespace.QName HEX_BINARY_QNAME

DATE_QNAME

public static final javax.xml.namespace.QName DATE_QNAME

TIME_QNAME

public static final javax.xml.namespace.QName TIME_QNAME

DATE_TIME_QNAME

public static final javax.xml.namespace.QName DATE_TIME_QNAME

BOOLEAN_QNAME

public static final javax.xml.namespace.QName BOOLEAN_QNAME

BYTE_QNAME

public static final javax.xml.namespace.QName BYTE_QNAME

DECIMAL_QNAME

public static final javax.xml.namespace.QName DECIMAL_QNAME

DOUBLE_QNAME

public static final javax.xml.namespace.QName DOUBLE_QNAME

DURATION_QNAME

public static final javax.xml.namespace.QName DURATION_QNAME

FLOAT_QNAME

public static final javax.xml.namespace.QName FLOAT_QNAME

G_DAY_QNAME

public static final javax.xml.namespace.QName G_DAY_QNAME

G_MONTH_QNAME

public static final javax.xml.namespace.QName G_MONTH_QNAME

G_MONTH_DAY_QNAME

public static final javax.xml.namespace.QName G_MONTH_DAY_QNAME

G_YEAR_QNAME

public static final javax.xml.namespace.QName G_YEAR_QNAME

G_YEAR_MONTH_QNAME

public static final javax.xml.namespace.QName G_YEAR_MONTH_QNAME

INT_QNAME

public static final javax.xml.namespace.QName INT_QNAME

INTEGER_QNAME

public static final javax.xml.namespace.QName INTEGER_QNAME

LONG_QNAME

public static final javax.xml.namespace.QName LONG_QNAME

NAME_QNAME

public static final javax.xml.namespace.QName NAME_QNAME

NCNAME_QNAME

public static final javax.xml.namespace.QName NCNAME_QNAME

NEGATIVE_INTEGER_QNAME

public static final javax.xml.namespace.QName NEGATIVE_INTEGER_QNAME

NON_NEGATIVE_INTEGER_QNAME

public static final javax.xml.namespace.QName NON_NEGATIVE_INTEGER_QNAME

NON_POSITIVE_INTEGER_QNAME

public static final javax.xml.namespace.QName NON_POSITIVE_INTEGER_QNAME

NOTATION_QNAME

public static final javax.xml.namespace.QName NOTATION_QNAME

POSITIVE_INTEGER_QNAME

public static final javax.xml.namespace.QName POSITIVE_INTEGER_QNAME

NORMALIZEDSTRING_QNAME

public static final javax.xml.namespace.QName NORMALIZEDSTRING_QNAME

QNAME_QNAME

public static final javax.xml.namespace.QName QNAME_QNAME

SHORT_QNAME

public static final javax.xml.namespace.QName SHORT_QNAME

STRING_QNAME

public static final javax.xml.namespace.QName STRING_QNAME

UNSIGNED_BYTE_QNAME

public static final javax.xml.namespace.QName UNSIGNED_BYTE_QNAME

UNSIGNED_INT_QNAME

public static final javax.xml.namespace.QName UNSIGNED_INT_QNAME

UNSIGNED_SHORT_QNAME

public static final javax.xml.namespace.QName UNSIGNED_SHORT_QNAME

UNSIGNED_LONG_QNAME

public static final javax.xml.namespace.QName UNSIGNED_LONG_QNAME

SWA_REF_QNAME

public static final javax.xml.namespace.QName SWA_REF_QNAME

EXPECTED_CONTENT_TYPES_QNAME

public static final javax.xml.namespace.QName EXPECTED_CONTENT_TYPES_QNAME

EMPTY_CHAR_ARRAY

public static final char[] EMPTY_CHAR_ARRAY

POSITIVE_INFINITY

public static final java.lang.String POSITIVE_INFINITY
See Also:
Constant Field Values

NEGATIVE_INFINITY

public static final java.lang.String NEGATIVE_INFINITY
See Also:
Constant Field Values

BOOLEAN_STRING_TRUE

public static final java.lang.String BOOLEAN_STRING_TRUE
See Also:
Constant Field Values

BOOLEAN_STRING_FALSE

public static final java.lang.String BOOLEAN_STRING_FALSE
See Also:
Constant Field Values

ANY_NAMESPACE_ANY

public static final java.lang.String ANY_NAMESPACE_ANY
See Also:
Constant Field Values

ANY_NAMESPACE_LOCAL

public static final java.lang.String ANY_NAMESPACE_LOCAL
See Also:
Constant Field Values

ANY_NAMESPACE_OTHER

public static final java.lang.String ANY_NAMESPACE_OTHER
See Also:
Constant Field Values

ANY_NAMESPACE_TARGETNS

public static final java.lang.String ANY_NAMESPACE_TARGETNS
See Also:
Constant Field Values

UUID

public static final java.lang.Class UUID

URI

public static final java.lang.Class URI

LOCATOR_CLASS

public static final java.lang.Class LOCATOR_CLASS

LOCATOR_CLASS_NAME

public static final java.lang.String LOCATOR_CLASS_NAME
See Also:
Constant Field Values

VALUE_WRAPPER

public static final java.lang.String VALUE_WRAPPER
See Also:
Constant Field Values

JAXB_FRAGMENT

public static final java.lang.String JAXB_FRAGMENT
See Also:
Constant Field Values

JAXB_MARSHALLER

public static final java.lang.String JAXB_MARSHALLER
See Also:
Constant Field Values
Constructor Detail

XMLConstants

public XMLConstants()

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference