|
||||||||||
| 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.
| 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,
java.lang.String packageName,
java.lang.String className)
Finalize compiler for a given compiler on the finalizer pass before any generation. |
void |
prepareJavaFile(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
java.lang.String packageName,
java.lang.String className)
Prepare java file after any compiler finalizer pass, says the last action before generation. |
| 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,
java.lang.String packageName,
java.lang.String className)
throws java.lang.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
java.lang.Exception - if any pb
void prepareJavaFile(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
java.lang.String packageName,
java.lang.String className)
throws java.lang.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
java.lang.Exception - if any pb
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||