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