Package org.apache.webdav.lib.util
Class XMLDebugOutputer
- java.lang.Object
-
- org.apache.webdav.lib.util.XMLDebugOutputer
-
public class XMLDebugOutputer extends java.lang.Object
XMLDebugOutputer helper class.
-
-
Constructor Summary
Constructors Constructor Description XMLDebugOutputer()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
print(java.lang.String xmlString)
Print the given XML string to debug output.void
print(org.w3c.dom.Document doc)
Print the given document to debug output.void
setDebug(boolean debug)
Set debug information.
-
-
-
Method Detail
-
print
public void print(org.w3c.dom.Document doc)
Print the given document to debug output. If debug is set to true;- Parameters:
doc
-
-
print
public void print(java.lang.String xmlString)
Print the given XML string to debug output. If debug is set to true;- Parameters:
xmlString
-
-
setDebug
public void setDebug(boolean debug)
Set debug information.- Parameters:
debug
-
-
-