|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TXMLStreamable
TXMLStreamable defines operations for the reading from and writing to streams/readers and writers with XML content.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.softwareag.tamino.db.api.io.TStreamable |
---|
getContentType, readFrom, readFrom, writeTo, writeTo |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |