Cantaloop CGimlet - API Documentation, Version: 0.2.0, Date: 2002-05-13 21:30 CEST

org.cantaloop.cgimlet.testing
Class TestHandler

java.lang.Object
  |
  +--org.cantaloop.cgimlet.testing.TestHandler
All Implemented Interfaces:
ComponentHandler, Constants

public class TestHandler
extends java.lang.Object
implements ComponentHandler, Constants

TestHandler.java

Version:
0.2.0 ($Revision: 1.11 $)
Author:
David Leuschner, Stefan Heimann

Field Summary
 Options barOpt
           
 Options fooOpt
           
 java.lang.Object result
           
 
Fields inherited from interface org.cantaloop.cgimlet.Constants
LOGGER_TOPIC_PREFIX, PROJECT_NS, PROJECT_NS_URI, PROPERTY
 
Constructor Summary
TestHandler()
           
 
Method Summary
 void configure(org.dom4j.Element root)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fooOpt

public Options fooOpt

barOpt

public Options barOpt

result

public java.lang.Object result
Constructor Detail

TestHandler

public TestHandler()
Method Detail

init

public void init(ProjectGenerator gen)
Description copied from interface: ComponentHandler
Initialize the handler.
Specified by:
init in interface ComponentHandler
Following copied from interface: org.cantaloop.cgimlet.ComponentHandler
Parameters:
gen - a ProjectGenerator value

configure

public void configure(org.dom4j.Element root)
Description copied from interface: ComponentHandler
Request the handler to configure itself with the given configuration element.
Specified by:
configure in interface ComponentHandler
Following copied from interface: org.cantaloop.cgimlet.ComponentHandler
Parameters:
configElem - the root element of the configuration section of the handler.

generate

public java.lang.Object generate(org.dom4j.Element root)
Description copied from interface: ComponentHandler
Request the handler to generate the code.
Specified by:
generate in interface ComponentHandler
Following copied from interface: org.cantaloop.cgimlet.ComponentHandler
Parameters:
root - the root element of the content section of the handler.
Returns:
a handler specific value

Copyright 2001, 2002 Stefan Heimann, David Leuschner. All rights reserved.