The Source Code Generator API
This package is primarily used with Castor XML, however some people do use it for Castor JDO.
See: Description
| Interface Summary | |
|---|---|
| BindingComponent |
This interface is the abstraction of any type of source that can interact with the Source Code Generator. |
| ClassInfoResolver | A class for "caching" ClassInfo's which later need to be resolved (retrieved) by another ClassInfo |
| Class Summary | |
|---|---|
| ClassInfo | This class holds the necessary information so that the source generator can properly create the necessary Classes for the Object model. |
| CollectionInfo | A helper used for generating source that deals with Collections |
| CollectionInfoJ2 | A helper used for generating source that deals with Java 2 Collections. |
| CollectionInfoODMG30 | A helper used for generating source that deals with Collections. |
| DescriptorSourceFactory | A factory for creating the source code of descriptor classes |
| FactoryState | A class used to save State information for the SourceFactory |
| FieldInfo | A class for representing field members of a Class. |
| FieldInfoFactory | This class is used as a factory to create all the FieldInfo objects used by the source generator. |
| GroupInfo | A class to hold group information |
| GroupNaming | A simple class used for creating class names for unnamed Groups in XML Schema. |
| IdentityInfo | |
| MemberFactory | |
| SGStateInfo | A class for maintaining state for the SourceGenerator |
| SGTypes | |
| SourceFactory | This class creates the Java Source classes for Schema components |
| SourceGenerator | A Java Source generation tool which uses XML Schema definitions to create an Object model. |
| SourceGenerator.Property | Names of properties used in the configuration file. |
| TypeConversion | A class used to convert XML Schema SimpleTypes into the appropriate XSType |
| TypeConversion.TypeNames | |
| XMLInfo | A class for storing XML related information |
The Source Code Generator API
This package is primarily used with Castor XML, however some people do use it for Castor JDO. Some incompatabilities may exist.
The class {@link org.exolab.castor.builder.SourceGenerator} is used for creating Java source code from an XML Schema. Currently the version of XML Schema that is supported by the SourceGenerator is a subset of the W3C XML Schema 1.0 Recommendation (20010502). A binding file can be used to customized the generated sources.More information may be obtained in the Castor documentation.
The file org/exolab/castor/builder/castorbuilder.properties is used for configuring some advanced options.