com.sun.xml.stream.buffer
Class XMLStreamBufferSource
java.lang.Object
javax.xml.transform.sax.SAXSource
com.sun.xml.stream.buffer.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_buffer
protected XMLStreamBuffer _buffer
_bufferProcessor
protected SAXBufferProcessor _bufferProcessor
XMLStreamBufferSource
public XMLStreamBufferSource(XMLStreamBuffer buffer)
- XMLStreamBufferSource constructor.
- Parameters:
buffer - the XMLStreamBuffer to use.
getXMLStreamBuffer
public XMLStreamBuffer getXMLStreamBuffer()
- Get the
XMLStreamBuffer that is used.
- Returns:
- the
XMLStreamBuffer.
setXMLStreamBuffer
public void setXMLStreamBuffer(XMLStreamBuffer buffer)
- Set the
XMLStreamBuffer to use.
- Parameters:
buffer - the XMLStreamBuffer.
getXMLReader
public XMLReader getXMLReader()
- Overrides:
getXMLReader in class SAXSource
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.