Zeus
Here is the output from the Zeus command-line source generation tool:
[bmclaugh@aragorn Zeus]$ java org.enhydra.zeus.util.DTDSourceGenerator Usage: java org.enhydra.zeus.util.DTDSourceGenerator -constraints=<constraints filename> [-outputDir=<output directory>] [-collapseSimpleElements=<true | false>] [-ignoreIDAttributes=<true | false>] [-javaPackage=<Java package name>] [-root=<Root Element Name>]
Table A-2 summarizes each option and its purpose.
Table A-2. Zeus DTDSourceGenerator options
Flag |
Value |
Purpose |
---|---|---|
|
DTD to parse |
Specify the DTD constraint set to Zeus to generate class from. |
|
Java package |
Set package for generated classes. |
|
Destination directory |
Specify the directory to put generated classes in. |
|
|
If |
|
|
If |
|
N/A |
If a DTD has multiple elements that can be considered the root of a document, this option allows listing of each element. Zeus will use this list for generating classes. |
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.