public final class SAXInputSource extends XMLInputSource
An XMLInputSource
analogue to javax.xml.transform.sax.SAXSource
.
fBaseSystemId, fByteStream, fCharStream, fEncoding, fPublicId, fSystemId
Constructor and Description |
---|
SAXInputSource() |
SAXInputSource(InputSource inputSource) |
SAXInputSource(XMLReader reader,
InputSource inputSource) |
Modifier and Type | Method and Description |
---|---|
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) |
getBaseSystemId, getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setBaseSystemId
public SAXInputSource()
public SAXInputSource(InputSource inputSource)
public SAXInputSource(XMLReader reader, InputSource inputSource)
public void setXMLReader(XMLReader reader)
public XMLReader getXMLReader()
public void setInputSource(InputSource inputSource)
public InputSource getInputSource()
public void setPublicId(String publicId)
setPublicId
in class XMLInputSource
publicId
- The new public identifier.public void setSystemId(String systemId)
setSystemId
in class XMLInputSource
systemId
- The new system identifier.public void setByteStream(InputStream byteStream)
setByteStream
in class XMLInputSource
byteStream
- The new byte stream.public void setCharacterStream(Reader charStream)
setCharacterStream
in class XMLInputSource
charStream
- The new character stream.setEncoding(java.lang.String)
public void setEncoding(String encoding)
setEncoding
in class XMLInputSource
encoding
- The new encoding.Copyright © 2019 JBoss by Red Hat. All rights reserved.