org.apache.webdav.lib.util

Class XMLDebugOutputer


public class XMLDebugOutputer
extends java.lang.Object

XMLDebugOutputer helper class.

Constructor Summary

XMLDebugOutputer()
Constructor

Method Summary

void
print(Document doc)
Print the given document to debug output.
void
print(String xmlString)
Print the given XML string to debug output.
void
setDebug(boolean debug)
Set debug information.

Constructor Details

XMLDebugOutputer

public XMLDebugOutputer()
Constructor

Method Details

print

public void print(Document doc)
Print the given document to debug output. If debug is set to true;
Parameters:
doc -

print

public void print(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 -