Class XMLStreamBufferResult

  • All Implemented Interfaces:
    javax.xml.transform.Result

    public class XMLStreamBufferResult
    extends javax.xml.transform.sax.SAXResult
    A JAXP Result implementation that supports the serialization to an MutableXMLStreamBuffer for use by applications that expect a Result.

    Reuse of a XMLStreamBufferResult more than once will require that the MutableXMLStreamBuffer is reset by called getXMLStreamBuffer().reset(), or by calling setXMLStreamBuffer(com.sun.xml.stream.buffer.MutableXMLStreamBuffer) with a new instance of MutableXMLStreamBuffer.

    The derivation of XMLStreamBufferResult from SAXResult is an implementation detail.

    General applications shall not call the following methods:

    • setHandler
    • setLexicalHandler
    • setSystemId