com.caucho.amber.gen
Class ListenerGenerator

java.lang.Object
  extended by com.caucho.java.AbstractGenerator
      extended by com.caucho.amber.gen.ListenerGenerator

public class ListenerGenerator
extends AbstractGenerator

Generates the Java code for the wrapped object.


Field Summary
 
Fields inherited from class com.caucho.java.AbstractGenerator
_out
 
Constructor Summary
ListenerGenerator()
           
 
Method Summary
 void generateJava()
          Starts generation of the Java code
 java.lang.String getBaseClassName()
          Gets the base class name
 java.lang.String getBeanClassName()
          Get bean class name.
 void setBaseClassName(java.lang.String baseClassName)
          Sets the base class name
 void setExtClassName(java.lang.String extClassName)
          Sets the ext class name
 void setListenerType(ListenerType listenerType)
          Sets the bean info for the generator
 
Methods inherited from class com.caucho.java.AbstractGenerator
compile, compileJava, generate, getClassDir, getClassName, getCompiler, getFullClassName, getGenClass, getOut, getPackageName, getParentLoader, getSearchPath, loadClass, loadClass, popDepth, preload, print, print, print, printClass, printDependList, println, println, printMethodHeader, printMethodHeader, printMethodHeader, printStr, pushDepth, setClassDir, setFullClassName, setGenClass, setLoader, setParentLoader, setSearchPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerGenerator

public ListenerGenerator()
Method Detail

setListenerType

public void setListenerType(ListenerType listenerType)
Sets the bean info for the generator


setBaseClassName

public void setBaseClassName(java.lang.String baseClassName)
Sets the base class name


getBaseClassName

public java.lang.String getBaseClassName()
Gets the base class name


setExtClassName

public void setExtClassName(java.lang.String extClassName)
Sets the ext class name


getBeanClassName

public java.lang.String getBeanClassName()
Get bean class name.


generateJava

public void generateJava()
                  throws java.io.IOException
Starts generation of the Java code

Overrides:
generateJava in class AbstractGenerator
Throws:
java.io.IOException