public final class SAXInputSource
extends org.apache.xerces.xni.parser.XMLInputSource
An XMLInputSource
analogue to javax.xml.transform.sax.SAXSource
.
Constructor and Description |
---|
SAXInputSource() |
SAXInputSource(org.xml.sax.InputSource inputSource) |
SAXInputSource(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource inputSource) |
Modifier and Type | Method and Description |
---|---|
org.xml.sax.InputSource |
getInputSource() |
org.xml.sax.XMLReader |
getXMLReader() |
void |
setByteStream(java.io.InputStream byteStream)
Sets the byte stream.
|
void |
setCharacterStream(java.io.Reader charStream)
Sets the character stream.
|
void |
setEncoding(java.lang.String encoding)
Sets the encoding of the stream.
|
void |
setInputSource(org.xml.sax.InputSource inputSource) |
void |
setPublicId(java.lang.String publicId)
Sets the public identifier.
|
void |
setSystemId(java.lang.String systemId)
Sets the system identifier.
|
void |
setXMLReader(org.xml.sax.XMLReader reader) |
public SAXInputSource()
public SAXInputSource(org.xml.sax.InputSource inputSource)
public SAXInputSource(org.xml.sax.XMLReader reader, org.xml.sax.InputSource inputSource)
public void setXMLReader(org.xml.sax.XMLReader reader)
public org.xml.sax.XMLReader getXMLReader()
public void setInputSource(org.xml.sax.InputSource inputSource)
public org.xml.sax.InputSource getInputSource()
public void setPublicId(java.lang.String publicId)
setPublicId
in class org.apache.xerces.xni.parser.XMLInputSource
publicId
- The new public identifier.public void setSystemId(java.lang.String systemId)
setSystemId
in class org.apache.xerces.xni.parser.XMLInputSource
systemId
- The new system identifier.public void setByteStream(java.io.InputStream byteStream)
setByteStream
in class org.apache.xerces.xni.parser.XMLInputSource
byteStream
- The new byte stream.public void setCharacterStream(java.io.Reader charStream)
setCharacterStream
in class org.apache.xerces.xni.parser.XMLInputSource
charStream
- The new character stream.setEncoding(java.lang.String)
public void setEncoding(java.lang.String encoding)
setEncoding
in class org.apache.xerces.xni.parser.XMLInputSource
encoding
- The new encoding.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.