public class DOMWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
canonical
Deprecated.
Will be made private in Tomcat 9.
|
protected PrintWriter |
out
Deprecated.
Will be made private in Tomcat 9.
|
Constructor and Description |
---|
DOMWriter(Writer writer) |
DOMWriter(Writer writer,
boolean canonical)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
getWriterEncoding()
Deprecated.
Unused. Will be removed in Tomcat 9.
|
protected String |
normalize(String s)
Deprecated.
Will be made private in Tomcat 9.
|
void |
print(Node node)
Prints the specified node, recursively.
|
protected Attr[] |
sortAttributes(NamedNodeMap attrs)
Deprecated.
Will be made private in Tomcat 9.
|
@Deprecated protected final PrintWriter out
@Deprecated protected final boolean canonical
public DOMWriter(Writer writer)
@Deprecated public DOMWriter(Writer writer, boolean canonical)
@Deprecated public static String getWriterEncoding()
UTF-8
public void print(Node node)
node
- The node to output@Deprecated protected Attr[] sortAttributes(NamedNodeMap attrs)
attrs
- The map to sort@Deprecated protected String normalize(String s)
s
- The string to escapeCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.