javax.xml.stream

Interface XMLStreamConstants

public interface XMLStreamConstants

STaX constants.
Field Summary
static intATTRIBUTE
An attribute event.
static intCDATA
A CDATA section event.
static intCHARACTERS
A text event.
static intCOMMENT
A comment event.
static intDTD
A DOCTYPE declaration event.
static intEND_DOCUMENT
An end document event.
static intEND_ELEMENT
An end element event.
static intENTITY_DECLARATION
An entity declaration event.
static intENTITY_REFERENCE
An entity reference event.
static intNAMESPACE
A namespace event.
static intNOTATION_DECLARATION
A notation declaration event.
static intPROCESSING_INSTRUCTION
A processing instruction event.
static intSPACE
An ignorable whitespace event.
static intSTART_DOCUMENT
A start document event.
static intSTART_ELEMENT
A start element event.

Field Detail

ATTRIBUTE

public static final int ATTRIBUTE
An attribute event.

CDATA

public static final int CDATA
A CDATA section event.

CHARACTERS

public static final int CHARACTERS
A text event.

COMMENT

public static final int COMMENT
A comment event.

DTD

public static final int DTD
A DOCTYPE declaration event.

END_DOCUMENT

public static final int END_DOCUMENT
An end document event.

END_ELEMENT

public static final int END_ELEMENT
An end element event.

ENTITY_DECLARATION

public static final int ENTITY_DECLARATION
An entity declaration event.

ENTITY_REFERENCE

public static final int ENTITY_REFERENCE
An entity reference event.

NAMESPACE

public static final int NAMESPACE
A namespace event.

NOTATION_DECLARATION

public static final int NOTATION_DECLARATION
A notation declaration event.

PROCESSING_INSTRUCTION

public static final int PROCESSING_INSTRUCTION
A processing instruction event.

SPACE

public static final int SPACE
An ignorable whitespace event.

START_DOCUMENT

public static final int START_DOCUMENT
A start document event.

START_ELEMENT

public static final int START_ELEMENT
A start element event.