Class ContentHandlerToXMLStreamWriter

  • All Implemented Interfaces:
    ContentHandler, DTDHandler, EntityResolver, ErrorHandler

    public class ContentHandlerToXMLStreamWriter
    extends DefaultHandler
    This is a simple utility class that adapts SAX events into StAX XMLStreamWriter events, bridging between the two parser technologies. This ContentHandler does not own the XMLStreamWriter. Therefore, it will not close or flush the writer at any point.
    Version:
    1.0
    Author:
    Ryan.Shoemaker@Sun.COM