Class Summary |
AnnotationsProcessor |
INTERNAL:
Purpose:To perform some initial processing of Java classes and JAXB
2.0 Annotations and generate meta data that can be used by the Mappings
Generator and Schema Generator
Responsibilities:
Generate a map of TypeInfo objects, keyed on class name
Generate a map of user defined schema types
Identify any class-based JAXB 2.0 callback methods, and create
MarshalCallback and UnmarshalCallback objects to wrap them. |
CompilerHelper |
Helper class for code that needs to be shared between AnnotationsProcessor,
MappingsGenerator, SchemaGenerator |
ElementDeclaration |
An ElementDeclaration object is used to represent the information that is
associated with a global element in XML. |
EnumTypeInfo |
INTERNAL:
Purpose:A specialized TypeInfo that stores additional information for a
Java 5 Enumeration type. |
Generator |
INTERNAL:
Purpose:The purpose of this class is to act as an entry point into the
TopLink JAXB 2.0 Generation framework
Responsibilities:
Run initial processing on a list of classes to create TypeInfo meta data
Provide API to generate Schema Files
Provide API to generate a TopLink Project
Act as an integration point with WebServices
This class acts as an entry point into JAXB 2.0 Generation. |
JAXBMetadataLogger |
Class used to log warnings during the processing of JAXB annotations and
OXM XML bindings files. |
MappingsGenerator |
INTERNAL:
Purpose:To generate a TopLink OXM Project based on Java Class and TypeInfo information
Responsibilities:
Generate a XMLDescriptor for each TypeInfo object
Generate a mapping for each TypeProperty object
Determine the correct mapping type based on the type of each property
Set up Converters on mappings for XmlAdapters or JDK 1.5 Enumeration types. |
MarshalCallback |
INTERNAL:
Purpose:Hold information about class based JAXB 2.0 Callback methods
Responsibilities:
Store information about domainClass and the callback methods
Act as a means to integrate JAXB 2.0 Class based callbacks with TopLink OXM
Listener based callbacks. |
NamespaceInfo |
INTERNAL:
Purpose:To store some information about a schema's target namespace and some additional
information gathered from XmlSchema annotation at the package (namespace) level
Responsibilities:
Store target namespace and namespace prefix information for a specific schema
Store some additional Schema information (such as element/attribute form and XmlAccessType)
|
PackageInfo |
INTERNAL:
Represents the the package level annotations from a specific package. |
Property |
INTERNAL:
Purpose:To store information about a property on a class during JAXB 2.0 Generation
Responsibilities:
Store information about the java property such as property name, if it's a method or field,
and it's type. |
SchemaGenerator |
INTERNAL:
Purpose:To generate Schema objects based on a map of TypeInfo objects, and some
additional information gathered by the AnnotationsProcessing phase. |
SchemaTypeInfo |
INTERNAL:
Purpose:Provide additional information about JAXB 2.0 Generated Schemas to
callers. |
TypeInfo |
INTERNAL:
Purpose:Used to store meta data about JAXB 2.0 Annotated classes during schema and mapping
generation processes. |
UnmarshalCallback |
INTERNAL:
Purpose:Hold information about class based JAXB 2.0 Callback methods
Responsibilities:
Store information about domainClass and the callback methods
Act as a means to integrate JAXB 2.0 Class based callbacks with TopLink OXM
Listener based callbacks. |
XMLProcessor |
INTERNAL:
Purpose: XMLProcessor is used to process the meta data provided
in external OXM XML files. |