Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.cantaloop.cgimlet
Interface ComponentHandler  view ComponentHandler download ComponentHandler.java


public interface ComponentHandler

Every class that wants the acts as a handler defined in the <handlerdef/> element of the project file must implement this interface.

Version:
@version@ ($Revision: 1.5 $)

Method Summary
 void configure(org.dom4j.Element configElem)
          Request the handler to configure itself with the given configuration element.
 java.lang.Object generate(org.dom4j.Element root)
          Request the handler to generate the code.
 void init(ProjectGenerator gen)
          Initialize the handler.
 

Method Detail

init

public void init(ProjectGenerator gen)
Initialize the handler.


configure

public void configure(org.dom4j.Element configElem)
Request the handler to configure itself with the given configuration element.


generate

public java.lang.Object generate(org.dom4j.Element root)
Request the handler to generate the code.