org.jboss.jsfunit.framework
Class DebugUtil

java.lang.Object
  extended by org.jboss.jsfunit.framework.DebugUtil

public class DebugUtil
extends Object

For now, this just contains a couple of simple utility methods to dump the client IDs in the component tree.

Since:
1.0
Author:
Stan Silvert

Method Summary
static void dumpComponentTree(javax.faces.context.FacesContext facesContext)
          Dump the component tree to standard out starting with the view root.
static void dumpComponentTree(javax.faces.component.UIComponent component, javax.faces.context.FacesContext facesContext, String spacing)
          Dump the component tree to standard out starting with the given component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

dumpComponentTree

public static void dumpComponentTree(javax.faces.context.FacesContext facesContext)
Dump the component tree to standard out starting with the view root.


dumpComponentTree

public static void dumpComponentTree(javax.faces.component.UIComponent component,
                                     javax.faces.context.FacesContext facesContext,
                                     String spacing)
Dump the component tree to standard out starting with the given component.



Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.