Module java.xml

Interface XMLStreamConstants

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Indicates an event is an attribute
    static final int
    Indicates an event is a CDATA section
    static final int
    Indicates an event is characters
    static final int
    Indicates an event is a comment
    static final int
    Indicates an event is a DTD
    static final int
    Indicates an event is an end document
    static final int
    Indicates an event is an end element
    static final int
    Indicates a Entity Declaration
    static final int
    Indicates an event is an entity reference
    static final int
    Indicates the event is a namespace declaration
    static final int
    Indicates a Notation
    static final int
    Indicates an event is a processing instruction
    static final int
    The characters are white space (see [XML], 2.10 "White Space Handling").
    static final int
    Indicates an event is a start document
    static final int
    Indicates an event is a start element