- All Known Subinterfaces:
 Attribute,Characters,Comment,DTD,EndDocument,EndElement,EntityDeclaration,EntityReference,Namespace,NotationDeclaration,ProcessingInstruction,StartDocument,StartElement,XMLEvent,XMLStreamReader
- All Known Implementing Classes:
 StreamReaderDelegate
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
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intIndicates an event is an attributestatic intIndicates an event is a CDATA sectionstatic intIndicates an event is charactersstatic intIndicates an event is a commentstatic intIndicates an event is a DTDstatic intIndicates an event is an end documentstatic intIndicates an event is an end elementstatic intIndicates a Entity Declarationstatic intIndicates an event is an entity referencestatic intIndicates the event is a namespace declarationstatic intIndicates a Notationstatic intIndicates an event is a processing instructionstatic intThe characters are white space (see [XML], 2.10 "White Space Handling").static intIndicates an event is a start documentstatic intIndicates an event is a start element 
- 
Field Details
- 
START_ELEMENT
static final int START_ELEMENTIndicates an event is a start element- See Also:
 StartElement, Constant Field Values
 - 
END_ELEMENT
static final int END_ELEMENTIndicates an event is an end element- See Also:
 EndElement, Constant Field Values
 - 
PROCESSING_INSTRUCTION
static final int PROCESSING_INSTRUCTIONIndicates an event is a processing instruction- See Also:
 ProcessingInstruction, Constant Field Values
 - 
CHARACTERS
static final int CHARACTERSIndicates an event is characters- See Also:
 Characters, Constant Field Values
 - 
COMMENT
static final int COMMENTIndicates an event is a comment- See Also:
 Comment, Constant Field Values
 - 
SPACE
static final int SPACEThe 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.- See Also:
 Characters, Constant Field Values
 - 
START_DOCUMENT
static final int START_DOCUMENTIndicates an event is a start document- See Also:
 StartDocument, Constant Field Values
 - 
END_DOCUMENT
static final int END_DOCUMENTIndicates an event is an end document- See Also:
 EndDocument, Constant Field Values
 - 
ENTITY_REFERENCE
static final int ENTITY_REFERENCEIndicates an event is an entity reference- See Also:
 EntityReference, Constant Field Values
 - 
ATTRIBUTE
static final int ATTRIBUTEIndicates an event is an attribute- See Also:
 Attribute, Constant Field Values
 - 
DTD
static final int DTDIndicates an event is a DTD- See Also:
 DTD, Constant Field Values
 - 
CDATA
static final int CDATAIndicates an event is a CDATA section- See Also:
 Characters, Constant Field Values
 - 
NAMESPACE
static final int NAMESPACEIndicates the event is a namespace declaration- See Also:
 Namespace, Constant Field Values
 - 
NOTATION_DECLARATION
static final int NOTATION_DECLARATIONIndicates a Notation- See Also:
 NotationDeclaration, Constant Field Values
 - 
ENTITY_DECLARATION
static final int ENTITY_DECLARATIONIndicates a Entity Declaration- See Also:
 NotationDeclaration, Constant Field Values
 
 -