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

Quick Search    Search Deep

org.cantaloop.cgimlet.handler
Class BeanHandler  view BeanHandler download BeanHandler.java

java.lang.Object
  extended byorg.cantaloop.cgimlet.handler.BeanHandler
All Implemented Interfaces:
org.cantaloop.cgimlet.ComponentHandler

public class BeanHandler
extends java.lang.Object
implements org.cantaloop.cgimlet.ComponentHandler

Handler that generates a java bean.

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

Field Summary
private  org.cantaloop.cgimlet.ProjectGenerator m_gen
           
private  org.cantaloop.cgimlet.lang.LanguageFactory m_lang
           
private  org.cantaloop.tools.logging.Logger m_log
           
private  org.cantaloop.cgimlet.Options m_opt
           
private  org.cantaloop.cgimlet.lang.CGUtils m_utils
           
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.
private  java.io.File generateBean(org.dom4j.Element bean)
           
 void init(org.cantaloop.cgimlet.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
See Also:
Constant Field Values

NAMESPACE

public static final org.dom4j.Namespace NAMESPACE

m_gen

private org.cantaloop.cgimlet.ProjectGenerator m_gen

m_opt

private org.cantaloop.cgimlet.Options m_opt

m_log

private org.cantaloop.tools.logging.Logger m_log

m_lang

private org.cantaloop.cgimlet.lang.LanguageFactory m_lang

m_utils

private org.cantaloop.cgimlet.lang.CGUtils m_utils
Constructor Detail

BeanHandler

public BeanHandler()
Method Detail

init

public void init(org.cantaloop.cgimlet.ProjectGenerator gen)
Description copied from interface: org.cantaloop.cgimlet.ComponentHandler
Initialize the handler.

Specified by:
init in interface org.cantaloop.cgimlet.ComponentHandler

configure

public void configure(org.dom4j.Element elem)
Description copied from interface: org.cantaloop.cgimlet.ComponentHandler
Request the handler to configure itself with the given configuration element.

Specified by:
configure in interface org.cantaloop.cgimlet.ComponentHandler

generate

public java.lang.Object generate(org.dom4j.Element elem)
Description copied from interface: org.cantaloop.cgimlet.ComponentHandler
Request the handler to generate the code.

Specified by:
generate in interface org.cantaloop.cgimlet.ComponentHandler

generateBean

private java.io.File generateBean(org.dom4j.Element bean)