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