ilog.views.faces.dhtml.renderkit
Class IlvDebugDependenciesRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by ilog.views.faces.dhtml.renderkit.IlvDebugDependenciesRenderer

public class IlvDebugDependenciesRenderer
extends Renderer

This class defines the renderer designed to render an IlvDebugDependencies component.
It generates a DIV HTML element filled with a list of the unresolved dependencies at the moment this renderer is called.

Since:
JViews 6.0

Constructor Summary
IlvDebugDependenciesRenderer()
          Creates a new IlvDebugDependenciesRenderer instance.
 
Method Summary
 void encodeEnd(FacesContext context, UIComponent component)
          
static String getRendererType()
          Returns the type of this renderer.
protected  void printUnresolvedDependencies(ResponseWriter writer, ArrayList list)
          Prints the HTML code needed to display any unresolved dependencies into the writer.
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvDebugDependenciesRenderer

public IlvDebugDependenciesRenderer()
Creates a new IlvDebugDependenciesRenderer instance.

Method Detail

getRendererType

public static String getRendererType()
Returns the type of this renderer.

Returns:
The type of this renderer.

encodeEnd

public void encodeEnd(FacesContext context,
                      UIComponent component)
               throws IOException

Overrides:
encodeEnd in class Renderer
Throws:
IOException

printUnresolvedDependencies

protected void printUnresolvedDependencies(ResponseWriter writer,
                                           ArrayList list)
                                    throws IOException
Prints the HTML code needed to display any unresolved dependencies into the writer.

Parameters:
writer - The writer into which to print.
list - The list of ComponentCreationListener listeners that were not called.
Throws:
IOException


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.