public class TStreamElement extends java.lang.Object implements TSAXElement
Constructor and Description |
---|
TStreamElement()
Initializes the TStreamElement.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public TStreamElement()
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()
Copyright (c) 2017 Software AG. All Rights Reserved.