33. 7. 2. xjc工具 |
|
The xjc tool accepts an XML schema and generates Java classes. |
The generated classes contain properties mapped to the XML elements and attributes defined in the schema. |
The xjc tool is a part of the Java API for XML Binding (JAXB) API. |
The syntax to use the xjc tool is: |
xjc [-options ...] <schema_file/URL/dir> ... [-b <bindinfo>] ...
|
|
Option | Description | -extension | Allows vendor extensions. | -b | Specifies external binding files. | -d | Specifies the directory to store generated files. | -p | Specifies the target package. | -classpath | Specifies where to find user class files. | -quiet | Suppresses compiler output. | -help | Displays help information. |
|