com.caucho.amber.gen
Interface AmberGenerator

All Known Implementing Classes:
AmberEnhancer, AmberGeneratorImpl

public interface AmberGenerator

Enhancing the java objects for Amber mapping.


Method Summary
 void compile()
          Compiles the pending classes.
 void configure(AbstractEnhancedType type)
          Configures the type.
 void generate(AbstractEnhancedType type)
          Generates the type.
 void generateJava(JavaClassGenerator javaGen, AbstractEnhancedType type)
          Generates the Java code
 

Method Detail

configure

void configure(AbstractEnhancedType type)
               throws java.lang.Exception
Configures the type.

Throws:
java.lang.Exception

generate

void generate(AbstractEnhancedType type)
              throws java.lang.Exception
Generates the type.

Throws:
java.lang.Exception

generateJava

void generateJava(JavaClassGenerator javaGen,
                  AbstractEnhancedType type)
                  throws java.lang.Exception
Generates the Java code

Throws:
java.lang.Exception

compile

void compile()
             throws java.lang.Exception
Compiles the pending classes.

Throws:
java.lang.Exception