public interface TXMLStreamable extends TStreamable
Modifier and Type | Method and Description |
---|---|
void |
readFrom(java.io.InputStream inputStream,
java.lang.String systemId)
Deprecated.
It is recommended to use the TXMLObject.setSystemId() method before using readFrom( InputStream inputStream ) instead of this method.
|
void |
readFrom(java.io.Reader reader,
java.lang.String systemId)
Deprecated.
It is recommended to use the TXMLObject.setSystemId() method before using readFrom( Reader reader ) instead of this method.
|
void |
writeTo(java.io.OutputStream outputStream,
java.lang.String encoding)
Writes the XML data to the given outputStream using the given encoding.
|
void |
writeTo(java.io.Writer writer,
java.lang.String encoding)
Writes the XML data to the given writer using the given encoding.
|
getContentType, readFrom, readFrom, writeTo, writeTo
void readFrom(java.io.InputStream inputStream, java.lang.String systemId) throws TStreamReadException
inputStream
- a byte input stream.systemId
- the base URI of the data to resolve relative references.TStreamReadException
- signals an error while attempting to read the stream.void readFrom(java.io.Reader reader, java.lang.String systemId) throws TStreamReadException
reader
- a character input stream .systemId
- the base URI to resolve relative references.TStreamReadException
- signals an error while attempting to read the stream.void writeTo(java.io.OutputStream outputStream, java.lang.String encoding) throws TStreamWriteException
outputStream
- the byte output stream.encoding
- the encoding used for serializing the XML document.TStreamWriteException
- signals an error while attempting to write the stream.void writeTo(java.io.Writer writer, java.lang.String encoding) throws TStreamWriteException
outputStream
- the character output stream.encoding
- the encoding used for serializing the XML document.TStreamWriteException
- signals an error while attempting to write the stream.Copyright (c) 2017 Software AG. All Rights Reserved.