Methods Summary |
---|
public org.xml.sax.InputSource | getInputSource()
return fInputSource;
|
public org.xml.sax.XMLReader | getXMLReader()
return fXMLReader;
|
public void | setByteStream(java.io.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.
super.setByteStream(byteStream);
if (fInputSource == null) {
fInputSource = new InputSource();
}
fInputSource.setByteStream(byteStream);
|
public void | setCharacterStream(java.io.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.
super.setCharacterStream(charStream);
if (fInputSource == null) {
fInputSource = new InputSource();
}
fInputSource.setCharacterStream(charStream);
|
public void | setEncoding(java.lang.String encoding)Sets the encoding of the stream.
super.setEncoding(encoding);
if (fInputSource == null) {
fInputSource = new InputSource();
}
fInputSource.setEncoding(encoding);
|
public void | setInputSource(org.xml.sax.InputSource inputSource)
if (inputSource != null) {
setPublicId(inputSource.getPublicId());
setSystemId(inputSource.getSystemId());
setByteStream(inputSource.getByteStream());
setCharacterStream(inputSource.getCharacterStream());
setEncoding(inputSource.getEncoding());
}
else {
setPublicId(null);
setSystemId(null);
setByteStream(null);
setCharacterStream(null);
setEncoding(null);
}
fInputSource = inputSource;
|
public void | setPublicId(java.lang.String publicId)Sets the public identifier.
super.setPublicId(publicId);
if (fInputSource == null) {
fInputSource = new InputSource();
}
fInputSource.setPublicId(publicId);
|
public void | setSystemId(java.lang.String systemId)Sets the system identifier.
super.setSystemId(systemId);
if (fInputSource == null) {
fInputSource = new InputSource();
}
fInputSource.setSystemId(systemId);
|
public void | setXMLReader(org.xml.sax.XMLReader reader)
fXMLReader = reader;
|