|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.response.stream.TStreamElement
public class TStreamElement
TStreamElement is an implementation for the TSAXElement interface needed for the response interpretation within the stream based object model.
Constructor Summary | |
---|---|
TStreamElement()
Initializes the TStreamElement. |
Method Summary | |
---|---|
java.io.Reader |
getCharacterInputStream()
Returns the character input stream that represents the entire elements content. |
java.lang.String |
getDocname()
Gets the ino:docnaid from the underlying element. |
java.lang.String |
getDoctype()
Gets the doctype to which this instance might be referred to. |
java.lang.String |
getId()
Gets the ino:id if one is available. |
TStreamWriterHelper |
getWriterHelper()
Gets the TSreamWriterHelper instance that is currently in use to write the streams element to. |
void |
setDocname(java.lang.String docname)
Sets the ino:docname on the underlying element. |
void |
setId(java.lang.String id)
Sets the ino:id on the underlying element. |
void |
writeTo(java.io.Writer writer)
Serializes this elements content into the given character output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TStreamElement()
Method Detail |
---|
public void setDocname(java.lang.String docname)
setDocname
in interface TSAXElement
docname
- is the ino:docname attribute of the data object.public void setId(java.lang.String id)
setId
in interface TSAXElement
id
- denotes the ino:id that has to be set on the underlying element.public java.lang.String getDoctype()
getDoctype
in interface TSAXElement
public java.lang.String getDocname()
getDocname
in interface TSAXElement
public java.lang.String getId()
getId
in interface TSAXElement
public void writeTo(java.io.Writer writer)
writeTo
in interface TSAXElement
StringWriter
- that takes the elements XML content.public java.io.Reader getCharacterInputStream() throws java.io.IOException
java.io.IOException
public TStreamWriterHelper getWriterHelper()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |