Class XMLStreamBufferResult

java.lang.Object
javax.xml.transform.sax.SAXResult
com.sun.xml.stream.buffer.XMLStreamBufferResult
All Implemented Interfaces:
Result

public class XMLStreamBufferResult extends 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