| Package | Description | 
|---|---|
| javax.xml.stream | |
| javax.xml.stream.events | |
| javax.xml.stream.util | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | XMLStreamReaderThe XMLStreamReader interface allows forward, read-only access to XML. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AttributeAn interface that contains information about an attribute. | 
| interface  | CharactersThis describes the interface to Characters events. | 
| interface  | CommentAn interface for comment events | 
| interface  | DTDThis is the top level interface for events dealing with DTDs | 
| interface  | EndDocumentA marker interface for the end of the document | 
| interface  | EndElementAn interface for the end element event. | 
| interface  | EntityDeclarationAn interface for handling Entity Declarations
 This interface is used to record and report unparsed entity declarations. | 
| interface  | EntityReferenceAn interface for handling Entity events. | 
| interface  | NamespaceAn interface that contains information about a namespace. | 
| interface  | NotationDeclarationAn interface for handling Notation Declarations
 Receive notification of a notation declaration event. | 
| interface  | ProcessingInstructionAn interface that describes the data found in processing instructions | 
| interface  | StartDocumentAn interface for the start document event | 
| interface  | StartElementThe StartElement interface provides access to information about
 start elements. | 
| interface  | XMLEventThis is the base event interface for handling markup events. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | StreamReaderDelegateThis is the base class for deriving an XMLStreamReader filter
 This class is designed to sit between an XMLStreamReader and an
 application's XMLStreamReader. | 
 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.