| java.lang.Object org.jibx.binding.Compile
Compile | public class Compile (Code) | | Binding compiler. This version checks the modified and generated classes
by loading them and listing method information.
author: Dennis M. Sosnoski version: 1.0 |
Constructor Summary | |
public | Compile() Default constructor. | public | Compile(boolean verbose, boolean load, boolean verify, boolean track, boolean over) Constructor with settings specified. |
Method Summary | |
public void | compile(String[] paths, String[] files) Compile a set of bindings using supplied classpaths. | public static void | main(String[] args) Main method for running compiler as application. | public void | setLoad(boolean load) Set control flag for test loading generated/modified classes. | public void | setSkipValidate(boolean skip) Set control flag for skipping binding validation. | public void | setVerbose(boolean verbose) Set control flag for verbose processing reports. | public void | setVerify(boolean verify) Set control flag for verifying generated/modified classes with BCEL. |
Compile | public Compile()(Code) | | Default constructor. This just initializes all options disabled.
|
Compile | public Compile(boolean verbose, boolean load, boolean verify, boolean track, boolean over)(Code) | | Constructor with settings specified.
Parameters: verbose - report binding details and results Parameters: load - test load modified classes to validate Parameters: verify - use BCEL validation of modified classes Parameters: track - keep tracking information for source of branch generation Parameters: over - override code generation error handling |
compile | public void compile(String[] paths, String[] files) throws JiBXException(Code) | | Compile a set of bindings using supplied classpaths.
Parameters: paths - list of paths for loading classes Parameters: files - list of binding definition files exception: JiBXException - if error in processing the binding definition |
main | public static void main(String[] args)(Code) | | Main method for running compiler as application.
Parameters: args - command line arguments |
setLoad | public void setLoad(boolean load)(Code) | | Set control flag for test loading generated/modified classes.
Parameters: load - test load generated/modified classes flag |
setSkipValidate | public void setSkipValidate(boolean skip)(Code) | | Set control flag for skipping binding validation. This flag is intended
only for use while processing the binding model components within JiBX.
Otherwise it'd be impossible to correct errors in the binding validation.
Parameters: skip - test load generated/modified classes flag |
setVerbose | public void setVerbose(boolean verbose)(Code) | | Set control flag for verbose processing reports.
Parameters: verbose - report verbose information in processing bindings flag |
setVerify | public void setVerify(boolean verify)(Code) | | Set control flag for verifying generated/modified classes with BCEL.
Parameters: verify - use BCEL verification for generated/modified classes flag |
|
|