Package javanet.staxutils
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.
-
ClassDescriptionAbstract base class for
XMLEventReaderimplementations.Base class forXMLEventWriterimplementations.BaseXMLOutputFactorythat provides common event functionality.Abstract base class forXMLStreamReaderimplementations.This is a simple utility class that adapts SAX events into StAXXMLEventWriterevents, bridging between the two parser technologies.This is a simple utility class that adapts SAX events into StAXXMLStreamWriterevents, bridging between the two parser technologies.A dummy locator that returns -1 and null from all methods to indicate that location info is not available.ExtendedNamespaceContextthat contains no namespaces.Extended namespace context interface that allows the context tree to be navigated and to list all known prefixes.Characters that represent line breaks and indentation.A filter that indents an XML stream.A filter that indents an XML stream.NamespaceContextthat wraps another context.XMLOutputFactoryimplementation based on stax-utils code base.Basic implementation ofExtendedLocation.Simple NamespaceContext implementation backed by a HashMap.Marker interface used to denoteLocationimplementations whose state is not transient or dependent on external objects/events and will remain stable unless explicitly updated.Marker interface used to denoteNamespaceContextimplementations whose state is not transient or dependent on external objects/events and will remain stable unless explicitly updated.Base class for SAX-to-STAX bridge classes that provides common functionality.SAX ContentHandler that writes events to a StAXXMLEventConsumer.Common API's for adapting StAX events fromXMLStreamReaderandXMLEventReaderinto SAX events on the specifiedContentHandler.A JAXPResultimplementation that produces a result on the specifiedXMLStreamWriterorXMLEventWriter.A JAXPSourceimplementation that wraps the specifiedXMLStreamReaderorXMLEventReaderfor use by applications that expext aSource.SAX ContentHandler that writes events to a StAXXMLStreamWriter.An output factory that optionally wraps a filter around each writer.Writes all events to a wrappedXMLEventConsumer, and provides convenience methods for creating events written to the internal consumer.Provides the ability to pipe theXMLEvents written to oneXMLEventWriterto be read from aXMLEventReader.This is a simple utility class that adapts StAX events from anXMLEventReaderto SAX events on aContentHandler, bridging between the two parser technologies.AnXMLStreamWriterthat writes events to aXMLEventWriter.XMLEventWriterthat writes events to aXMLStreamWriter.This is a simple utility class that adapts StAX events from anXMLStreamReaderto SAX events on aContentHandler, bridging between the two parser technologies.Static utility methods useful when handling XML Streams.