com.tonbeller.wcf.form
Interface NodeHandler

All Known Implementing Classes:
ButtonHandler, NodeHandlerSupport, PanelSupport, TabbedHandler

public interface NodeHandler

Part of a Component that is attached to a DOM Element. A NodeHandler is attached to an element node at initialization time.

Author:
av

Method Summary
 void destroy(javax.servlet.http.HttpSession session)
           
 void initialize(RequestContext context, XmlComponent comp, org.w3c.dom.Element element)
          initializes the handler
 void render(RequestContext context)
          renders itself by changing the DOM Element
 

Method Detail

initialize

public void initialize(RequestContext context,
                       XmlComponent comp,
                       org.w3c.dom.Element element)
                throws java.lang.Exception
initializes the handler

Parameters:
context - the current request
element - the element that this handler is responsible for
Throws:
java.lang.Exception

destroy

public void destroy(javax.servlet.http.HttpSession session)
             throws java.lang.Exception
Throws:
java.lang.Exception

render

public void render(RequestContext context)
            throws java.lang.Exception
renders itself by changing the DOM Element

Throws:
java.lang.Exception