org.apache.webdav.lib.util
Class XMLDebugOutputer

java.lang.Object
  extended byorg.apache.webdav.lib.util.XMLDebugOutputer

public class XMLDebugOutputer
extends java.lang.Object

XMLDebugOutputer helper class.


Constructor Summary
XMLDebugOutputer()
          Constructor
 
Method Summary
 void print(org.w3c.dom.Document doc)
          Print the given document to debug output.
 void print(java.lang.String xmlString)
          Print the given XML string to debug output.
 void setDebug(boolean debug)
          Set debug information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDebugOutputer

public XMLDebugOutputer()
Constructor

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 -