Package com.sun.faces.facelets.util
Class DevTools
- java.lang.Object
-
- com.sun.faces.facelets.util.DevTools
-
public final class DevTools extends Object
Utility class for displaying Facelet error/debug information.The public static methods of this class are exposed as EL functions under the namespace
mojarra.private.functions
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_NAMESPACEstatic Set<String>NAMESPACES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddebugHtml(Writer writer, FacesContext faces)static voiddebugHtml(Writer writer, FacesContext faces, Throwable e)static voidwriteComponent(Writer writer, UIComponent c)static voidwriteException(Writer writer, Throwable e)static voidwriteMessage(Writer writer, Throwable e)static voidwriteVariables(Writer writer, FacesContext faces)
-
-
-
Field Detail
-
DEFAULT_NAMESPACE
public static final String DEFAULT_NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
debugHtml
public static void debugHtml(Writer writer, FacesContext faces, Throwable e) throws IOException
- Throws:
IOException
-
writeMessage
public static void writeMessage(Writer writer, Throwable e) throws IOException
- Throws:
IOException
-
writeException
public static void writeException(Writer writer, Throwable e) throws IOException
- Throws:
IOException
-
debugHtml
public static void debugHtml(Writer writer, FacesContext faces) throws IOException
- Throws:
IOException
-
writeVariables
public static void writeVariables(Writer writer, FacesContext faces) throws IOException
- Throws:
IOException
-
writeComponent
public static void writeComponent(Writer writer, UIComponent c) throws IOException
- Throws:
IOException
-
-