Castor
Here is the output from the Castor generation tool:
[bmclaugh@aragorn]$ java org.exolab.castor.builder.SourceGenerator Usage: -i filename [-package package-name] [-dest dest-dir] [-line-separator ( unix | mac | win)] [-f ] [-h ] [-verbose ] [-nodesc ] [-types types] [-type-factory classname] [-nomarshall ] [-testable ]
Table A-3 details each option and its use.
Table A-3. Castor SourceGenerator options
Flag |
Value |
Purpose |
---|---|---|
|
XML Schema to parse |
Specify the schema constraint set to Castor to generate class from. |
|
Java package |
Set package for generated classes. |
|
Destination directory |
Set the directory to put generated classes in. |
|
|
Set line separator to use for a specific platform; by default, this will attempt to autodetect your platform. |
|
N/A |
Hide nonfatal warnings in class generation. |
|
N/A |
Display a help screen and command usage. |
|
N/A |
Display extra information about the class generation process. |
|
N/A |
Prevent creation of class descriptors. |
|
Type for collections |
Specify the collection type to use. |
|
N/A |
Prevent generation of |
|
N/A |
Set up class to be used by Castor testing framework (included with Castor). |
Get Java & XML Data Binding now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.