Package javanet.staxutils
Provides a set of utility classes that make it easy for developers to work
with JSR-173: Streaming API for
XML (StAX) and integrate it into their existing XML processing
applications.
-
Interface Summary Interface Description ExtendedLocation ExtendedNamespaceContext Extended namespace context interface that allows the context tree to be navigated and to list all known prefixes.Indentation Characters that represent line breaks and indentation.StaticLocation Marker interface used to denoteLocationimplementations whose state is not transient or dependent on external objects/events and will remain stable unless explicitly updated.StaticNamespaceContext Marker interface used to denoteNamespaceContextimplementations whose state is not transient or dependent on external objects/events and will remain stable unless explicitly updated.StAXReaderToContentHandler Common API's for adapting StAX events fromXMLStreamReaderandXMLEventReaderinto SAX events on the specifiedContentHandler. -
Class Summary Class Description BaseXMLEventReader Abstract base class forXMLEventReaderimplementations.BaseXMLEventWriter Base class forXMLEventWriterimplementations.BaseXMLInputFactory BaseXMLOutputFactory BaseXMLOutputFactorythat provides common event functionality.BaseXMLStreamReader Abstract base class forXMLStreamReaderimplementations.ContentHandlerToXMLEventWriter This is a simple utility class that adapts SAX events into StAXXMLEventWriterevents, bridging between the two parser technologies.ContentHandlerToXMLStreamWriter This is a simple utility class that adapts SAX events into StAXXMLStreamWriterevents, bridging between the two parser technologies.DummyLocator A dummy locator that returns -1 and null from all methods to indicate that location info is not available.EmptyNamespaceContext ExtendedNamespaceContextthat contains no namespaces.IndentingXMLEventWriter A filter that indents an XML stream.IndentingXMLStreamWriter A filter that indents an XML stream.NamespaceContextAdapter NamespaceContextthat wraps another context.OutputFactory XMLOutputFactoryimplementation based on stax-utils code base.SimpleLocation Basic implementation ofExtendedLocation.SimpleNamespaceContext Simple NamespaceContext implementation backed by a HashMap.StAXContentHandler Base class for SAX-to-STAX bridge classes that provides common functionality.StAXEventContentHandler SAX ContentHandler that writes events to a StAXXMLEventConsumer.StAXResult A JAXPResultimplementation that produces a result on the specifiedXMLStreamWriterorXMLEventWriter.StAXSource A JAXPSourceimplementation that wraps the specifiedXMLStreamReaderorXMLEventReaderfor use by applications that expext aSource.StAXStreamContentHandler SAX ContentHandler that writes events to a StAXXMLStreamWriter.StaxUtilsXMLOutputFactory An output factory that optionally wraps a filter around each writer.XMLEventConsumerDelegate Writes all events to a wrappedXMLEventConsumer, and provides convenience methods for creating events written to the internal consumer.XMLEventPipe Provides the ability to pipe theXMLEvents written to oneXMLEventWriterto be read from aXMLEventReader.XMLEventReaderToContentHandler This is a simple utility class that adapts StAX events from anXMLEventReaderto SAX events on aContentHandler, bridging between the two parser technologies.XMLEventStreamWriter AnXMLStreamWriterthat writes events to aXMLEventWriter.XMLStreamEventReader XMLStreamEventWriter XMLEventWriterthat writes events to aXMLStreamWriter.XMLStreamReaderToContentHandler This is a simple utility class that adapts StAX events from anXMLStreamReaderto SAX events on aContentHandler, bridging between the two parser technologies.XMLStreamUtils Static utility methods useful when handling XML Streams.