FileDocCategorySizeDatePackage
XMLStreamConstants.javaAPI DocJava SE 6 API2711Tue Jun 10 00:27:10 BST 2008javax.xml.stream

XMLStreamConstants

public interface XMLStreamConstants
This interface declares the constants used in this API. Numbers in the range 0 to 256 are reserved for the specification, user defined events must use event codes outside that range.
since
1.6

Fields Summary
public static final int
START_ELEMENT
Indicates an event is a start element
public static final int
END_ELEMENT
Indicates an event is an end element
public static final int
PROCESSING_INSTRUCTION
Indicates an event is a processing instruction
public static final int
CHARACTERS
Indicates an event is characters
public static final int
COMMENT
Indicates an event is a comment
public static final int
SPACE
The characters are white space (see [XML], 2.10 "White Space Handling"). Events are only reported as SPACE if they are ignorable white space. Otherwise they are reported as CHARACTERS.
public static final int
START_DOCUMENT
Indicates an event is a start document
public static final int
END_DOCUMENT
Indicates an event is an end document
public static final int
ENTITY_REFERENCE
Indicates an event is an entity reference
public static final int
ATTRIBUTE
Indicates an event is an attribute
public static final int
DTD
Indicates an event is a DTD
public static final int
CDATA
Indicates an event is a CDATA section
public static final int
NAMESPACE
Indicates the event is a namespace declaration
public static final int
NOTATION_DECLARATION
Indicates a Notation
public static final int
ENTITY_DECLARATION
Indicates a Entity Declaration
Constructors Summary
Methods Summary