Package org.apache.webdav.lib.util
Class DOMWriter
java.lang.Object
org.apache.webdav.lib.util.DOMWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Canonical output.protected PrintWriter
Print writer. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static boolean
isValidJavaEncoding
(String encoding) protected String
Normalizes the given string.void
Prints the specified node, recursively.static void
setWriterEncoding
(String encoding) protected Attr[]
sortAttributes
(NamedNodeMap attrs) Returns a sorted list of attributes.
-
Field Details
-
out
Print writer. -
canonical
protected boolean canonicalCanonical output.
-
-
Constructor Details
-
DOMWriter
- Throws:
UnsupportedEncodingException
-
DOMWriter
Default constructor.- Throws:
UnsupportedEncodingException
-
DOMWriter
-
-
Method Details
-
getWriterEncoding
-
setWriterEncoding
-
isValidJavaEncoding
-
print
Prints the specified node, recursively. -
sortAttributes
Returns a sorted list of attributes. -
normalize
Normalizes the given string.
-