com.ctc.wstx.cfg
Interface XmlConsts


public interface XmlConsts

Simple constant container interface, shared by input and output sides.


Field Summary
static String ATTR_NO_NS_URI
           
static String ATTR_NO_PREFIX
           
static String DEFAULT_NAMESPACE_URI
          Top-most namespace URI assigned for root element, if not specifically defined (default namespace unbound).
static String ELEM_NO_NS_URI
           
static String ELEM_NO_PREFIX
           
static int MAX_UNICODE_CHAR
          This constant defines the highest Unicode character allowed in XML content.
static String XML_DECL_KW_ENCODING
           
static String XML_DECL_KW_STANDALONE
           
static String XML_DECL_KW_VERSION
           
static String XML_SA_NO
           
static String XML_SA_YES
           
static int XML_V_10
           
static String XML_V_10_STR
           
static int XML_V_11
           
static String XML_V_11_STR
           
static int XML_V_UNKNOWN
          This constants refers to cases where the version has not been declared explicitly; and needs to be considered to be 1.0.
 

Field Detail

XML_DECL_KW_ENCODING

static final String XML_DECL_KW_ENCODING
See Also:
Constant Field Values

XML_DECL_KW_VERSION

static final String XML_DECL_KW_VERSION
See Also:
Constant Field Values

XML_DECL_KW_STANDALONE

static final String XML_DECL_KW_STANDALONE
See Also:
Constant Field Values

XML_V_10_STR

static final String XML_V_10_STR
See Also:
Constant Field Values

XML_V_11_STR

static final String XML_V_11_STR
See Also:
Constant Field Values

XML_V_UNKNOWN

static final int XML_V_UNKNOWN
This constants refers to cases where the version has not been declared explicitly; and needs to be considered to be 1.0.

See Also:
Constant Field Values

XML_V_10

static final int XML_V_10
See Also:
Constant Field Values

XML_V_11

static final int XML_V_11
See Also:
Constant Field Values

XML_SA_YES

static final String XML_SA_YES
See Also:
Constant Field Values

XML_SA_NO

static final String XML_SA_NO
See Also:
Constant Field Values

ELEM_NO_NS_URI

static final String ELEM_NO_NS_URI
See Also:
Constant Field Values

ATTR_NO_NS_URI

static final String ATTR_NO_NS_URI
See Also:
Constant Field Values

ELEM_NO_PREFIX

static final String ELEM_NO_PREFIX
See Also:
Constant Field Values

ATTR_NO_PREFIX

static final String ATTR_NO_PREFIX
See Also:
Constant Field Values

DEFAULT_NAMESPACE_URI

static final String DEFAULT_NAMESPACE_URI
Top-most namespace URI assigned for root element, if not specifically defined (default namespace unbound).

As per Stax specs, related clarifying discussion on the mailing list, and especially JDK 1.6 definitions in XMLConstants constants, empty String should be used instead of null.

See Also:
Constant Field Values

MAX_UNICODE_CHAR

static final int MAX_UNICODE_CHAR
This constant defines the highest Unicode character allowed in XML content.

See Also:
Constant Field Values