Attribute
, Characters
, Comment
, DTD
, EndDocument
, EndElement
, EntityDeclaration
, EntityReference
, Namespace
, NotationDeclaration
, ProcessingInstruction
, StartDocument
, StartElement
, XMLEvent
, XMLStreamReader
StreamReaderDelegate
public interface XMLStreamConstants
Modifier and Type | Field | Description |
---|---|---|
static final int |
ATTRIBUTE |
Indicates an event is an attribute |
static final int |
CDATA |
Indicates an event is a CDATA section |
static final int |
CHARACTERS |
Indicates an event is characters |
static final int |
COMMENT |
Indicates an event is a comment |
static final int |
DTD |
Indicates an event is a DTD |
static final int |
END_DOCUMENT |
Indicates an event is an end document |
static final int |
END_ELEMENT |
Indicates an event is an end element |
static final int |
ENTITY_DECLARATION |
Indicates a Entity Declaration |
static final int |
ENTITY_REFERENCE |
Indicates an event is an entity reference |
static final int |
NAMESPACE |
Indicates the event is a namespace declaration |
static final int |
NOTATION_DECLARATION |
Indicates a Notation |
static final int |
PROCESSING_INSTRUCTION |
Indicates an event is a processing instruction |
static final int |
SPACE |
The characters are white space (see [XML], 2.10 "White Space Handling"). |
static final int |
START_DOCUMENT |
Indicates an event is a start document |
static final int |
START_ELEMENT |
Indicates an event is a start element |
static final int START_ELEMENT
static final int END_ELEMENT
static final int PROCESSING_INSTRUCTION
static final int CHARACTERS
static final int COMMENT
static final int SPACE
static final int START_DOCUMENT
static final int END_DOCUMENT
static final int ENTITY_REFERENCE
static final int ATTRIBUTE
static final int DTD
static final int CDATA
static final int NAMESPACE
static final int NOTATION_DECLARATION
static final int ENTITY_DECLARATION
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.xml/javax/xml/stream/XMLStreamConstants.html