public class DOMWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
canonical
Canonical output.
|
protected java.io.PrintWriter |
out
Print writer.
|
Constructor and Description |
---|
DOMWriter(boolean canonical)
Deprecated.
Unused - will be removed in 8.0.x
|
DOMWriter(java.lang.String encoding,
boolean canonical)
Deprecated.
Unused - will be removed in 8.0.x
|
DOMWriter(java.io.Writer writer,
boolean canonical) |
Modifier and Type | Method and Description |
---|---|
boolean |
getQualifiedNames()
Deprecated.
Unused - will be removed in 8.0.x
|
static java.lang.String |
getWriterEncoding() |
static boolean |
isValidJavaEncoding(java.lang.String encoding)
Deprecated.
Unused - will be removed in 8.0.x
|
protected java.lang.String |
normalize(java.lang.String s)
Normalizes the given string.
|
void |
print(org.w3c.dom.Node node)
Prints the specified node, recursively.
|
void |
setQualifiedNames(boolean qualifiedNames)
Deprecated.
Unnecessary - will be removed in 8.0.x
|
static void |
setWriterEncoding(java.lang.String encoding)
Deprecated.
Unused - will be removed in 8.0.x
|
protected org.w3c.dom.Attr[] |
sortAttributes(org.w3c.dom.NamedNodeMap attrs)
Returns a sorted list of attributes.
|
protected java.io.PrintWriter out
protected boolean canonical
@Deprecated public DOMWriter(java.lang.String encoding, boolean canonical) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
@Deprecated public DOMWriter(boolean canonical) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public DOMWriter(java.io.Writer writer, boolean canonical)
@Deprecated public boolean getQualifiedNames()
@Deprecated public void setQualifiedNames(boolean qualifiedNames)
public static java.lang.String getWriterEncoding()
@Deprecated public static void setWriterEncoding(java.lang.String encoding)
@Deprecated public static boolean isValidJavaEncoding(java.lang.String encoding)
public void print(org.w3c.dom.Node node)
protected org.w3c.dom.Attr[] sortAttributes(org.w3c.dom.NamedNodeMap attrs)
protected java.lang.String normalize(java.lang.String s)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.