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