This is a feature of JBuilder Enterprise.
The Databinding wizard creates Java classes from DTDs or XML schema files. JBuilder uses BorlandXML to generate classes from a DTD and Castor to generate classes from schema.
Select the databinding framework to generate the Java classes.
From the drop-down list, select the databinding type. If you are generating classes from a DTD, select BorlandXML. If you are generating classes from a schema (.xsd), select Castor.
The options on the second page depend on whether you selected BorlandXML or Castor as your databinding framework on this step.
Choose the DTD file and set the options for automatic class generation.
Click the ellipsis button, browse to the DTD output file and select it.
Note: If you select the DTD file in the project pane before running the wizard, this field is automatically filled in for you.
Select the element from the drop-down list that you want as the root element for the XML document. The root element contains all the other elements in the document.
Enter the package name for the generated classes, choose one from the drop-down list, or choose the ellipsis button and browse to it.
These fields generate the DOCTYPE declaration in the XML document with SYSTEM or PUBLIC identifiers.
Enter the address and/or the name of the public DTD file.
Enter the address and/or the name of the system or local DTD file.
Choose the schema file and set the options for automatic class generation.
Click the ellipsis button, browse to the existing schema file (.xsd), and select it.
Note: If you select the schema file in the project pane before running the wizard, this field is automatically filled in for you.
Enter the package name for the generated classes, choose one from the drop-down list, or choose the ellipsis button and browse to it.
Specify Castor options.
Select whether to use Java 2 collections where appropriate.
Generates descriptor classes.
Suppresses errors that aren't fatal as the Java classes are generated.
Turns on verbosity through source generation.