org.apache.qpid.qman.debug
Class XmlDebugger

java.lang.Object
  extended by org.apache.qpid.qman.debug.XmlDebugger

public class XmlDebugger
extends Object

Utility class used for debbugging XML messages


Field Summary
static org.apache.qpid.transport.util.Logger LOGGER
           
 
Constructor Summary
XmlDebugger()
           
 
Method Summary
static void debug(Element[] elements)
          Prints out to log the given element array.
static void debug(Node node)
          Prints out to log the given node.
static void debug(ObjectName resourceId, Node node)
          Prints out to log the given node.
static void debug(String node)
          Prints out to log the given node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final org.apache.qpid.transport.util.Logger LOGGER
Constructor Detail

XmlDebugger

public XmlDebugger()
Method Detail

debug

public static void debug(Node node)
Prints out to log the given node.

Parameters:
node - the xml node to be printed out.

debug

public static void debug(ObjectName resourceId,
                         Node node)
Prints out to log the given node.

Parameters:
node - the xml node to be printed out.

debug

public static void debug(Element[] elements)
Prints out to log the given element array.

Parameters:
elements - the element array to be printed out.

debug

public static void debug(String node)
Prints out to log the given node.

Parameters:
node - the xml node to be printed out.


Licensed to the Apache Software Foundation