public interface XMLStreamConstants
Modifier and Type | Field | Description |
---|---|---|
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 |
ENTITY_DECLARATION |
Indicates a Entity Declaration
|
static int |
ENTITY_REFERENCE |
Indicates an event is an entity reference
|
static int |
NAMESPACE |
Indicates the event is a namespace declaration
|
static int |
NOTATION_DECLARATION |
Indicates a Notation
|
static int |
PROCESSING_INSTRUCTION |
Indicates an event is a processing instruction
|
static int |
SPACE |
The characters are white space
(see [XML], 2.10 "White Space Handling").
|
static int |
START_DOCUMENT |
Indicates an event is a start document
|
static int |
START_ELEMENT |
Indicates an event is a start element
|
static final int START_ELEMENT
StartElement
,
Constant Field Values static final int END_ELEMENT
EndElement
,
Constant Field Values static final int PROCESSING_INSTRUCTION
ProcessingInstruction
,
Constant Field Values static final int CHARACTERS
Characters
,
Constant Field Values static final int COMMENT
Comment
,
Constant Field Values static final int SPACE
Characters
,
Constant Field Values static final int START_DOCUMENT
StartDocument
,
Constant Field Values static final int END_DOCUMENT
EndDocument
,
Constant Field Values static final int ENTITY_REFERENCE
EntityReference
,
Constant Field Values static final int ATTRIBUTE
Attribute
,
Constant Field Values static final int DTD
DTD
,
Constant Field Values static final int CDATA
Characters
,
Constant Field Values static final int NAMESPACE
Namespace
,
Constant Field Values static final int NOTATION_DECLARATION
NotationDeclaration
,
Constant Field Values static final int ENTITY_DECLARATION
NotationDeclaration
,
Constant Field Values Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.