|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JAXXCompilerFinalizer
Contract of any object to interact with a JAXXCompiler before the
generation pass.
| Field Summary | |
|---|---|
static String |
TYPE_BOOLEAN
|
static String |
TYPE_OBJECT
|
static String |
TYPE_STRING
|
static String |
TYPE_VOID
|
| Method Summary | |
|---|---|
boolean |
accept(JAXXCompiler compiler)
Test if the finalizer must be apply on the given compiler. |
void |
finalizeCompiler(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
String packageName,
String className)
Finalize compiler for a given compiler on the finalizer pass before any generation. |
void |
prepareJavaFile(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
String packageName,
String className)
Prepare java file after any compiler finalizer pass, says the last action before generation. |
| Field Detail |
|---|
static final String TYPE_STRING
static final String TYPE_VOID
static final String TYPE_BOOLEAN
static final String TYPE_OBJECT
| Method Detail |
|---|
boolean accept(JAXXCompiler compiler)
compiler.
compiler - the compiler
true if the finalizer must be apply of compiler
void finalizeCompiler(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
String packageName,
String className)
throws Exception
root - the root objectcompiler - the current compilerjavaFile - the java file to generatepackageName - the package name of the file to generateclassName - the class name of the file to generate
Exception - if any pb
void prepareJavaFile(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
String packageName,
String className)
throws Exception
root - the root objectcompiler - the current compilerjavaFile - the java file to generatepackageName - the package name of the file to generateclassName - the class name of the file to generate
Exception - if any pb
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||