file |
The XML schema, to be used as input for the source code generator. |
Yes, unless a nested <fileset> element is used. |
package |
The default package to be used during source code generation. |
No; if not given, all classes will be placed in the root package. |
todir |
The destination directory to be used during source code generation. In
this directory all generated Java classes will be placed. |
No |
bindingfile |
A Castor source generator binding file, as detailed here. |
No |
lineseparator |
Defines whether to use Unix- or Windows- or Mac-style line separators during source code generation. Possible values are: 'unix', 'win' or 'mac'. |
No; if not set, system property 'line.separator' is used instead. |
types |
Defines what collection types to use (Java 1 vs. Java 2). Possible values: 'vector', 'arraylist' (aka 'j2') or 'odmg'. |
No; if not set, the default collection used will be Java 1 type |
verbose |
Whether to output any logging messages as emitted by the source generator |
No |
warnings |
Whether to suppress any warnings as otherwise emitted by the source generator |
No |
nodesc |
If used, instructs the source generator not to generate *Descriptor classes. |
No |
nomarshal |
If specified, instructs the source generator not to create (un)marshalling
methods within the Java classes generated. |
No |
caseInsensitive |
If used, instructs the source generator to generate code for enumerated type
lookup in a case insensitive manner. |
No |
sax1 |
If used, instructs the source generator to generate SAX-1 compliant code. |
No |
generateImportedSchemas |
If used, instructs the source generator to generate code for imported
schemas as well. |
No |
nameConflictStrategy |
If used, sets the name conflict strategy to use during XML code generation;
possible values are 'warnViaConsoleDialog' and
'informViaLog'. |
No |
properties |
Location of file defining a set of properties to be used during source code
generation. This overrides the default mechanisms of configuring the source
generator through a castorbuilder.properties (that has to be
placed on the CLASSPATH) |
No |
automaticConflictStrategy |
If used, sets the name conflict resolution strategy used during XML
code generation; possible values are 'type' and 'xpath'
(default being 'xpath'). |
No |