javax.xml.stream
Interface XMLStreamConstants

All Known Subinterfaces:
Attribute, Characters, Comment, DTD, EndDocument, EndElement, EndEntity, EntityDeclaration, EntityReference, Namespace, NotationDeclaration, ProcessingInstruction, StartDocument, StartElement, StartEntity, XMLEvent, XMLStreamReader
All Known Implementing Classes:
ReaderDelegate

public interface XMLStreamConstants

This interface declares the constants used in this API.


Field Summary
static int ATTRIBUTE
          Indicates an event is an attribute
static int CDATA
          Indicates an event is a CDATA section
static int CHARACTERS
          Indicates an event is characters
static int COMMENT
          Indicates an event is a comment
static int DTD
          Indicates an event is a DTD
static int END_DOCUMENT
          Indicates an event is an end document
static int END_ELEMENT
          Indicates an event is an end element
static int END_ENTITY
          Indicates an event is the end of a resolved entity
static int ENTITY_DECLARATION
          Indicates a Entity Declaration
static int ENTITY_REFERENCE
          Indicates an event is an entity reference
static int NAMESPACE
          Indicates an event is a namepsace
static int NOTATION_DECLARATION
          Indicates a Notation
static int PROCESSING_INSTRUCTION
          Indicates an event is a processing instruction
static int SPACE
          Indicates an event is a space, events are only reported as SPACE if they are ignorable white space.
static int START_DOCUMENT
          Indicates an event is a start document
static int START_ELEMENT
          Indicates an event is a start element
static int START_ENTITY
          Indicates an event is the start of a resolved entity
 

Field Detail

START_ELEMENT

public static final int START_ELEMENT
Indicates an event is a start element

See Also:
StartElement, Constant Field Values

END_ELEMENT

public static final int END_ELEMENT
Indicates an event is an end element

See Also:
EndElement, Constant Field Values

PROCESSING_INSTRUCTION

public static final int PROCESSING_INSTRUCTION
Indicates an event is a processing instruction

See Also:
ProcessingInstruction, Constant Field Values

CHARACTERS

public static final int CHARACTERS
Indicates an event is characters

See Also:
Characters, Constant Field Values

COMMENT

public static final int COMMENT
Indicates an event is a comment

See Also:
Comment, Constant Field Values

SPACE

public static final int SPACE
Indicates an event is a space, events are only reported as SPACE if they are ignorable white space. Otherwise they are reported as CHARACTERS.

See Also:
Characters, Constant Field Values

START_DOCUMENT

public static final int START_DOCUMENT
Indicates an event is a start document

See Also:
StartDocument, Constant Field Values

END_DOCUMENT

public static final int END_DOCUMENT
Indicates an event is an end document

See Also:
EndDocument, Constant Field Values

ENTITY_REFERENCE

public static final int ENTITY_REFERENCE
Indicates an event is an entity reference

See Also:
EntityReference, Constant Field Values

ATTRIBUTE

public static final int ATTRIBUTE
Indicates an event is an attribute

See Also:
Attribute, Constant Field Values

DTD

public static final int DTD
Indicates an event is a DTD

See Also:
DTD, Constant Field Values

CDATA

public static final int CDATA
Indicates an event is a CDATA section

See Also:
Characters, Constant Field Values

NAMESPACE

public static final int NAMESPACE
Indicates an event is a namepsace

See Also:
Namespace, Constant Field Values

START_ENTITY

public static final int START_ENTITY
Indicates an event is the start of a resolved entity

See Also:
StartEntity, Constant Field Values

END_ENTITY

public static final int END_ENTITY
Indicates an event is the end of a resolved entity

See Also:
EndEntity, Constant Field Values

NOTATION_DECLARATION

public static final int NOTATION_DECLARATION
Indicates a Notation

See Also:
NotationDeclaration, Constant Field Values

ENTITY_DECLARATION

public static final int ENTITY_DECLARATION
Indicates a Entity Declaration

See Also:
NotationDeclaration, Constant Field Values