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 {@link #.getXMLStreamBuffer()}.reset(), or by calling {@link #.setXMLStreamBuffer()} 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