|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.objectModel.dom.TDOMWriter
public class TDOMWriter
The DOMWriter class writes an internal DOM tree to an external representation (XML document) using a java.io.Writer.
Constructor Summary | |
---|---|
TDOMWriter()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getEncodingAttribute()
Get the encoding string for the XML declaration. |
boolean |
getExpandEmptyElements()
Get the expand empty elements flag. |
void |
setEncodingAttribute(java.lang.String encoding)
Set the encoding string for the XML declaration. |
void |
setExpandEmptyElements(boolean expandEmptyElements)
Set the expand empty elements flag. |
void |
write(org.w3c.dom.Node node,
java.io.Writer output)
Write the DOM tree specified with a Node object using a given Writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TDOMWriter()
Method Detail |
---|
public void setEncodingAttribute(java.lang.String encoding)
encoding
- the enconding string set in the XML declaration.public java.lang.String getEncodingAttribute()
public void setExpandEmptyElements(boolean expandEmptyElements)
expandEmptyElements
- the expand empty elements flag.public boolean getExpandEmptyElements()
public void write(org.w3c.dom.Node node, java.io.Writer output) throws java.io.IOException
node
- is the representation of the XML document that should be writen using the given Writer.output
- is used to externalize the given XML document.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |