public class DOMWriter extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DOMWriter.XMLVisitor |
| Modifier and Type | Field and Description |
|---|---|
protected String |
docTypeString |
protected String |
encodingTag |
protected int |
indent |
protected PrintWriter |
out |
protected String |
prefix |
| Constructor and Description |
|---|
DOMWriter(Document document,
PrintWriter writer,
String encodingTag,
String docTypeString,
String prefix) |
DOMWriter(Document document,
String outfile,
String encoding,
String encodingTag,
String docTypeString) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
normalize(String s)
Normalize the text string
|
void |
print(Node node)
Prints the specified node, recursively.
|
void |
printIndent() |
protected PrintWriter out
protected int indent
protected String encodingTag
protected String docTypeString
protected String prefix
public DOMWriter(Document document, PrintWriter writer, String encodingTag, String docTypeString, String prefix)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.