Package org.codehaus.stax2.ri
Package that contains a skeletal reference implementation of Stax2 API,
as well as some utility/helper classes that can be useful in building
one.
-
Class Summary Class Description EmptyIterator Simple implementation of "null iterator", iterator that has nothing to iterate over.EmptyNamespaceContext DummyNamespaceContext
implementation that contains no namespace information, except bindings that are specified by the namespace specification itself (for prefixes "xml" and "xmlns")SingletonIterator<T> Simple read-only iterator that iterators over one specific item, passed in as constructor argument.Stax2EventFactoryImpl This is an abstract almost complete plain vanilla implementation ofXMLEventFactory2
.Stax2EventReaderImpl Almost complete implementation ofXMLEventReader2
, built on top of a genericXMLStreamReader
implementation (using aggregation).Stax2EventWriterImpl Simple implementation ofXMLEventWriter
.Stax2FilteredStreamReader Simple straight-forward implementation of a filtering stream reader, which can fully adapt Stax2 stream reader (XMLStreamReader2
).Stax2LocationAdapter Simple implementation ofXMLStreamLocation2
, which just wraps Stax 1.0Location
and adds no-operation implementation of the additions.Stax2ReaderAdapter This adapter implements parts ofXMLStreamReader2
, the extended stream reader defined by Stax2 extension, by wrapping a vanilla Stax 1.0XMLStreamReader
implementation.Stax2ReaderImpl This is a partial base implementation ofXMLStreamReader2
, the extended stream reader that is part of Stax2.Stax2Util Stax2Util.ByteAggregator Helper class for efficiently reading and aggregating variable length byte content.Stax2Util.TextBuffer Helper class used to simplify text gathering while keeping at as efficient as possible.Stax2WriterAdapter This adapter implements parts ofXMLStreamWriter2
, the extended stream writer defined by Stax2 extension, by wrapping a vanilla Stax 1.0XMLStreamReader
implementation.Stax2WriterImpl This is a partial base implementation ofXMLStreamWriter2
, the extended stream writer that is part of Stax2.