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

org.cantaloop.cgimlet.handler
Class BeanHandler

java.lang.Object
  |
  +--org.cantaloop.cgimlet.handler.BeanHandler
All Implemented Interfaces:
ComponentHandler

public class BeanHandler
extends java.lang.Object
implements ComponentHandler

Handler that generates a java bean.

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

Field Summary
static org.dom4j.Namespace NAMESPACE
           
static java.lang.String NAMESPACE_URI
           
 
Constructor Summary
BeanHandler()
           
 
Method Summary
 void configure(org.dom4j.Element elem)
          Request the handler to configure itself with the given configuration element.
 java.lang.Object generate(org.dom4j.Element elem)
          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

NAMESPACE_URI

public static final java.lang.String NAMESPACE_URI

NAMESPACE

public static final org.dom4j.Namespace NAMESPACE
Constructor Detail

BeanHandler

public BeanHandler()
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 elem)
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 elem)
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.