org.apache.myfaces.util
Class DebugUtils

java.lang.Object
  extended by org.apache.myfaces.util.DebugUtils

public class DebugUtils
extends Object

Utilities for logging.

Version:
$Revision: 1470767 $ $Date: 2013-04-22 20:07:29 -0500 (Mon, 22 Apr 2013) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Method Summary
static void assertError(boolean condition, Logger log_, String msg)
           
static void assertFatal(boolean condition, Logger log_, String msg)
           
static String componentAsString(UIComponent comp)
           
static void printComponent(UIComponent comp, PrintStream stream)
           
static void printView(UIViewRoot uiViewRoot, PrintStream stream)
           
static void traceView(String additionalMsg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertError

public static void assertError(boolean condition,
                               Logger log_,
                               String msg)
                        throws FacesException
Throws:
FacesException

assertFatal

public static void assertFatal(boolean condition,
                               Logger log_,
                               String msg)
                        throws FacesException
Throws:
FacesException

traceView

public static void traceView(String additionalMsg)

printView

public static void printView(UIViewRoot uiViewRoot,
                             PrintStream stream)

printComponent

public static void printComponent(UIComponent comp,
                                  PrintStream stream)

componentAsString

public static String componentAsString(UIComponent comp)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.