compact2

# Package javax.xml.stream

- Interface Summary
  Interface | Description
  --- | ---
  EventFilter | This interface declares a simple filter interface that one can create to filter XMLEventReaders
  Location | Provides information on the location of an event.
  StreamFilter | This interface declares a simple filter interface that one can create to filter XMLStreamReaders
  XMLEventReader | This is the top level interface for parsing XML Events.
  XMLEventWriter | This is the top level interface for writing XML documents.
  XMLReporter | This interface is used to report non-fatal errors.
  XMLResolver | This interface is used to resolve resources during an XML parse.
  XMLStreamConstants | This interface declares the constants used in this API.
  XMLStreamReader | The XMLStreamReader interface allows forward, read-only access to XML.
  XMLStreamWriter | The XMLStreamWriter interface specifies how to write XML.

- Class Summary
  Class | Description
  --- | ---
  XMLEventFactory | This interface defines a utility class for creating instances of XMLEvents
  XMLInputFactory | Defines an abstract implementation of a factory for getting streams.
  XMLOutputFactory | Defines an abstract implementation of a factory for getting XMLEventWriters and XMLStreamWriters.

- Exception Summary
  Exception | Description
  --- | ---
  XMLStreamException | The base exception for unexpected processing errors.

- Error Summary
  Error | Description
  --- | ---
  FactoryConfigurationError | An error class for reporting factory configuration errors.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.