An XMLInputSource
analogue to javax.xml.transform.sax.SAXSource
.
Modifier and Type | Field and Description |
---|---|
private InputSource | |
private XMLReader |
Access | Constructor and Description |
---|---|
public | |
public | |
public |
Modifier and Type | Method and Description |
---|---|
public InputSource | |
public XMLReader | |
public void | setByteStream(InputStream
The new byte stream. byteStream)Overrides com. Sets the byte stream. |
public void | setCharacterStream(Reader
The new character stream. charStream)Overrides com. Sets the character stream. |
public void | setEncoding(String
The new encoding. encoding)Overrides com. Sets the encoding of the stream. |
public void | |
public void | setPublicId(String
The new public identifier. publicId)Overrides com. Sets the public identifier. |
public void | setSystemId(String
The new system identifier. systemId)Overrides com. Sets the system identifier. |
public void |
fInputSource | back to summary |
---|---|
private InputSource fInputSource |
fXMLReader | back to summary |
---|---|
private XMLReader fXMLReader |
SAXInputSource | back to summary |
---|---|
public SAXInputSource() |
SAXInputSource | back to summary |
---|---|
public SAXInputSource(InputSource inputSource) |
SAXInputSource | back to summary |
---|---|
public SAXInputSource(XMLReader reader, InputSource inputSource) |
getInputSource | back to summary |
---|---|
public InputSource getInputSource() |
getXMLReader | back to summary |
---|---|
public XMLReader getXMLReader() |
setByteStream | back to summary |
---|---|
public void setByteStream(InputStream byteStream) Overrides com. 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.
|
setCharacterStream | back to summary |
---|---|
public void setCharacterStream(Reader charStream) Overrides com. 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.
|
setEncoding | back to summary |
---|---|
public void setEncoding(String encoding) Overrides com. Sets the encoding of the stream.
|
setInputSource | back to summary |
---|---|
public void setInputSource(InputSource inputSource) |
setPublicId | back to summary |
---|---|
public void setPublicId(String publicId) Overrides com. Sets the public identifier.
|
setSystemId | back to summary |
---|---|
public void setSystemId(String systemId) Overrides com. Sets the system identifier.
|
setXMLReader | back to summary |
---|---|
public void setXMLReader(XMLReader reader) |