public final class

SAXInputSource

extends XMLInputSource
java.lang.Object
   ↳ org.apache.xerces.xni.parser.XMLInputSource
     ↳ org.apache.xerces.util.SAXInputSource

Class Overview

An XMLInputSource analogue to javax.xml.transform.sax.SAXSource.

Summary

[Expand]
Inherited Fields
From class org.apache.xerces.xni.parser.XMLInputSource
Public Constructors
SAXInputSource()
SAXInputSource(InputSource inputSource)
SAXInputSource(XMLReader reader, InputSource inputSource)
Public Methods
InputSource getInputSource()
XMLReader getXMLReader()
void setByteStream(InputStream byteStream)
Sets the byte stream.
void setCharacterStream(Reader charStream)
Sets the character stream.
void setEncoding(String encoding)
Sets the encoding of the stream.
void setInputSource(InputSource inputSource)
void setPublicId(String publicId)
Sets the public identifier.
void setSystemId(String systemId)
Sets the system identifier.
void setXMLReader(XMLReader reader)
[Expand]
Inherited Methods
From class org.apache.xerces.xni.parser.XMLInputSource
From class java.lang.Object

Public Constructors

public SAXInputSource ()

public SAXInputSource (InputSource inputSource)

public SAXInputSource (XMLReader reader, InputSource inputSource)

Public Methods

public InputSource getInputSource ()

public XMLReader getXMLReader ()

public void setByteStream (InputStream byteStream)

Sets the byte stream. If the byte stream is not already opened when this object is instantiated, then the code that opens the stream should also set the byte stream on this object. Also, if the encoding is auto-detected, then the encoding should also be set on this object.

Parameters
byteStream The new byte stream.

public void setCharacterStream (Reader charStream)

Sets the character stream. If the character stream is not already opened when this object is instantiated, then the code that opens the stream should also set the character stream on this object. Also, the encoding of the byte stream used by the reader should also be set on this object, if known.

Parameters
charStream The new character stream.

public void setEncoding (String encoding)

Sets the encoding of the stream.

Parameters
encoding The new encoding.

public void setInputSource (InputSource inputSource)

public void setPublicId (String publicId)

Sets the public identifier.

Parameters
publicId The new public identifier.

public void setSystemId (String systemId)

Sets the system identifier.

Parameters
systemId The new system identifier.

public void setXMLReader (XMLReader reader)