Defines interfaces and classes for the Streaming API for XML (StAX).
StAX provides two basic functions: the cursor API allowing users to read and write XML efficiently, and the event iterator API promoting ease of use that is event based, easy to extend and pipeline. The event iterator API is intended to layer on top of the cursor API.
Interface Summary Interface Description EventFilterThis interface declares a simple filter interface that one can create to filter XMLEventReaders LocationProvides information on the location of an event. StreamFilterThis interface declares a simple filter interface that one can create to filter XMLStreamReaders XMLEventReaderThis is the top level interface for parsing XML Events. XMLEventWriterThis is the top level interface for writing XML documents. XMLReporterThis interface is used to report non-fatal errors. XMLResolverThis interface is used to resolve resources during an XML parse. XMLStreamConstantsThis interface declares the constants used in this API. XMLStreamReaderThe XMLStreamReader interface allows forward, read-only access to XML. XMLStreamWriterThe XMLStreamWriter interface specifies how to write XML.
Class Summary Class Description XMLEventFactoryThis interface defines a utility class for creating instances of XMLEvents XMLInputFactoryDefines an abstract implementation of a factory for getting streams. XMLOutputFactoryDefines an abstract implementation of a factory for getting XMLEventWriters and XMLStreamWriters.
Exception Summary Exception Description XMLStreamExceptionThe base exception for unexpected processing errors.
Error Summary Error Description FactoryConfigurationErrorAn error class for reporting factory configuration errors.