TODO: if JAXB supports various modes of code generations (such as public interface only or implementation only or etc), we should define bit flags to control those.
This operation is only supported for a model built from a schema.
@param extensions The JAXB RI extensions to run. This can be null or empty array if the caller wishes not to run any extension.
Those specified extensions will participate in the code generation. Specifying an extension in this list has the same effect of turning that extension on via command line.
It is the caller's responsibility to configure each augmenter properly by using {@link Plugin#parseArgument(Options,String[],int)}.
@return object filled with the generated code. Use {@link JCodeModel#build(CodeWriter)} to write themto a disk.
Add-ons can use those information to further augment the generated source code.
TODO: if JAXB supports various modes of code generations (such as public interface only or implementation only or etc), we should define bit flags to control those.
This operation is only supported for a model built from a schema.
@param extensions The JAXB RI extensions to run. This can be null or empty array if the caller wishes not to run any extension.
Those specified extensions will participate in the code generation. Specifying an extension in this list has the same effect of turning that extension on via command line.
It is the caller's responsibility to configure each augmenter properly by using {@link Plugin#parseArgument(Options,String[],int)}.
@return object filled with the generated code. Use {@link JCodeModel#build(CodeWriter)} to write themto a disk.
Add-ons can use those information to further augment the generated source code.
Generate code for a certain model into a certain output directory.
Expected properties:
Generate code for a certain model file into a certain output directory.
Expected properties:
TODO refactor along with other implementations of OAW codegen
@param file the model file
@param wffile the workflow file (e.g. src/workflow/foo.oaw
)
Title:生成代码
@author liss @param modelMetadata @return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|