|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.util.DebugUtil
public class DebugUtil
DebugUtil is a class ...
Lifetime And Scope
Constructor Summary | |
---|---|
DebugUtil()
|
Method Summary | |
---|---|
protected void |
init()
|
static void |
printTree(java.lang.Object[] root,
java.io.Writer out)
|
static java.lang.String |
printTree(javax.faces.component.UIComponent root)
Output of printTree() as a String. |
static void |
printTree(javax.faces.component.UIComponent root,
java.util.logging.Logger logger,
java.util.logging.Level level)
|
static void |
printTree(javax.faces.component.UIComponent root,
java.io.PrintStream out)
Output of printTree() to a PrintStream. |
static void |
printTree(javax.faces.component.UIComponent root,
java.io.Writer out)
|
static void |
setKeepWaiting(boolean keepWaiting)
|
static void |
simplePrintTree(javax.faces.component.UIComponent root,
java.lang.String duplicateId,
java.io.Writer out)
|
static void |
waitForDebugger()
Usage: |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugUtil()
Method Detail |
---|
protected void init()
public static void setKeepWaiting(boolean keepWaiting)
public static void waitForDebugger()
Place a call to this method in the earliest possible entry point of your servlet app. It will cause the app to enter into an infinite loop, sleeping until the static var keepWaiting is set to false. The idea is that you attach your debugger to the servlet, then, set a breakpont in this method. When it is hit, you use the debugger to set the keepWaiting class var to false.
public static java.lang.String printTree(javax.faces.component.UIComponent root)
public static void printTree(javax.faces.component.UIComponent root, java.io.PrintStream out)
public static void printTree(javax.faces.component.UIComponent root, java.util.logging.Logger logger, java.util.logging.Level level)
public static void printTree(javax.faces.component.UIComponent root, java.io.Writer out)
public static void simplePrintTree(javax.faces.component.UIComponent root, java.lang.String duplicateId, java.io.Writer out)
public static void printTree(java.lang.Object[] root, java.io.Writer out)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |