How to Generate JAXB Classes

To generate JAXB classes:
1. Open the XML Schema file for which you want to generate JAXB classes.
2. Click the Diagram tab if it is not already selected.
3. Select XMLSchema > Generate Java from the Stylus Studio menu.

The Generate Java Binding Class dialog box appears.

Figure 294. Generate Java Binding Class Dialog Box

4. If necessary, change the default values.
5. Click OK.

Stylus Studio generates JAXB classes. The Output window displays code generation status.

 
Free Stylus Studio XML Training: