Class XMLStreamBufferSource

  • All Implemented Interfaces:
    Source

    public class XMLStreamBufferSource
    extends SAXSource
    A JAXP Source implementation that supports the parsing of XMLStreamBuffer for use by applications that expect a Source.

    The derivation of XMLStreamBufferSource from SAXSource is an implementation detail.

    Applications shall obey the following restrictions:

    • The setXMLReader and setInputSource shall not be called.
    • The XMLReader object obtained by the getXMLReader method shall be used only for parsing the InputSource object returned by the getInputSource method.
    • The InputSource object obtained by the getInputSource method shall be used only for being parsed by the XMLReader object returned by the getXMLReader method.