Prev Package | Next Package | Frames | No Frames |
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 | |
BaseFactory | This class defines a base type for the source generator code factory classes. |
BuilderConfiguration | The configuration for the SourceGenerator |
BuilderConfiguration.Property | Names of properties used in the configuration file. |
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 |
EnumerationFactory | This class creates the Java sources for XML Schema components that define an enumeration. |
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 | |
MappingFileSourceFactory | A factory for creating mapping files |
MemberFactory | The "Factory" responsible for creating fields for the given schema components |
SGStateInfo | A class for maintaining state for the SourceGenerator |
SGTypes | |
SingleClassGenerator | Writes a single class (and any associated inner classes) to a file. |
SourceFactory | Creates the Java Source classes for Schema components. |
SourceGenerator | A Java Source generation tool which uses XML Schema definitions to create an Object model. |
SourceGeneratorMain | Main line method for command-line invokation of the source generation tool. |
TypeConversion | A class used to convert XML Schema SimpleTypes into the appropriate XSType. |
TypeConversion.TypeNames | |
XMLInfo | A class for storing XML related information |
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 customize
the generated sources. More information may be obtained in the Castor documentation.
The class SourceGeneratorMain
is the main(String[]) entry point used when invoking the source generator
from the command line. This class parses the command-line arguments,
sets up the proper configuration, and then passes control to
org.exolab.castor.builder.SourceGenerator
.
The file org/exolab/castor/builder/castorbuilder.properties
is used for configuring some advanced options.