Package com.sun.faces.util
Class DebugUtil
java.lang.Object
com.sun.faces.util.DebugUtil
public class DebugUtil extends Object
DebugUtil is a class ...
Lifetime And Scope
-
Constructor Summary
Constructors Constructor Description DebugUtil()
-
Method Summary
Modifier and Type Method Description protected void
init()
static void
printList(List list, Logger out)
static void
printState(Map state, Logger out)
static String
printTree(UIComponent root)
static void
printTree(UIComponent root, PrintStream out)
Output of printTree() to a PrintStream.static void
printTree(UIComponent root, Writer out)
static void
printTree(UIComponent root, Logger logger, Level level)
static void
printTree(Object[] root, Writer out)
static void
printTree(Object[] root, Logger out)
static void
setKeepWaiting(boolean keepWaiting)
static void
simplePrintTree(UIComponent root, String duplicateId, Writer out)
static void
waitForDebugger()
Usage:
-
Constructor Details
-
DebugUtil
public DebugUtil()
-
-
Method Details
-
init
protected void init() -
setKeepWaiting
public static void setKeepWaiting(boolean keepWaiting) -
waitForDebugger
public static void waitForDebugger()Usage: -
printTree
- Parameters:
root
- the root component- Returns:
- the output of printTree() as a String. Useful when used with a Logger. For example: logger.log(DebugUtil.printTree(root));
-
printTree
Output of printTree() to a PrintStream. Usage: DebugUtil.printTree(root, System.out);- Parameters:
root
- the root componentout
- the PrintStream to write to
-
printTree
-
printTree
-
simplePrintTree
-
printState
-
printTree
-
printTree
-
printList
-