NextApp Echo
App Container 1.0.5

nextapp.echoservlet
Class ComponentHierarchyViewer

java.lang.Object
  extended bynextapp.echoservlet.ComponentHierarchyViewer
All Implemented Interfaces:
java.io.Serializable, Service

final class ComponentHierarchyViewer
extends java.lang.Object
implements java.io.Serializable, Service

A debugging utility which displays a hierarchal view of the component hierarchy.


Field Summary
private static Id ID
           
 
Constructor Summary
(package private) ComponentHierarchyViewer()
           
 
Method Summary
 Id getId()
          Returns a unique identifier for this service.
private  void renderComponentData(Connection conn, Element parent, nextapp.echo.Component component)
          Renders information about a particular component, and then recursively calls itself on the component's children.
private  void renderContainerPaneUIData(Connection conn, Element parent, ContainerPaneUI ui)
          Renders special data pertinent to container panes.
 void service(Connection conn)
          Services an HTTP request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

private static final Id ID
Constructor Detail

ComponentHierarchyViewer

ComponentHierarchyViewer()
Method Detail

getId

public Id getId()
Description copied from interface: Service
Returns a unique identifier for this service.

Specified by:
getId in interface Service
Returns:
A unique identifier for this service.
See Also:
Service.getId()

renderComponentData

private void renderComponentData(Connection conn,
                                 Element parent,
                                 nextapp.echo.Component component)
Renders information about a particular component, and then recursively calls itself on the component's children.


renderContainerPaneUIData

private void renderContainerPaneUIData(Connection conn,
                                       Element parent,
                                       ContainerPaneUI ui)
Renders special data pertinent to container panes.


service

public void service(Connection conn)
Description copied from interface: Service
Services an HTTP request. Information about the HTTP request as well as methods for issuing a response are available from the provided Connection object.

Specified by:
service in interface Service
Parameters:
conn - A Connection object which wraps HttpServletRequest and HttpServletResponse objects and provides access to the facilities of the Echo application container.
See Also:
Service.service(nextapp.echoservlet.Connection)

NextApp Echo
App Container 1.0.5