Package com.sun.tools.xjc.model
package com.sun.tools.xjc.model
Implementation of the
org.glassfish.jaxb.core.v2.model.core
package for XJC.
This model is the recipes for the code generation. It captures the essence of the JAXB-bound beans, so that the actual Java code can be generated from this object model mechanically without knowing anything about how the model was built.
Most of the classes/interfaces in this package has one-to-one relationship
with the parameterized core model in the org.glassfish.jaxb.core.v2.model.core
package.
Refer to the core model for better documentation.
The model for XJC also exposes a few additional information on top of the core model. Those are defined in this package. This includes such information as:
- Source location information
Locator
object that can be used to tell where the model components are created from in terms of the source file. Useful for error reporting.- Source schema component
XSComponent
object from which the model components are created from. SeeCCustomizable.getSchemaComponent()
for example.- Plugin customizations
- See
CCustomizable
.
-
ClassDescription
ClassNameAllocator
filter that performs automatic name conflict resolution.ExtendedAdapter
for use within XJC.Because XJC doesn't generate the array binding, this class will never show up in the model constructed by XJC.AttributePropertyInfo
for the compiler.Encapsulates the default handling for leaf classes (which are bound to text in XML.) In particular this class knows how to convert the lexical value into the Java class according to this default rule.EitherCClassInfo
orCClassRef
.MutableClassInfo
representation.Parent of aCClassInfo
/CElementInfo
.JPackage
as aCClassInfoParent
.Visitor ofCClassInfoParent
Reference to an existing class.Implemented by model components that can have customizations contributed byPlugin
s.Represents the list ofCPluginCustomization
s attached to a JAXB model component.Object that computes the default value expression lazily.ElementInfo
implementation for the compile-time model.ElementPropertyInfo
for the compiler.Enumeration constant.Transducer that converts a string into an "enumeration class." The structure of the generated class needs to precisely follow the JAXB spec.NonElement
at compile-time.Constructor declaration.Vendor extension customization contributed fromPlugin
s.Model of a property to be generated.Visitor forCPropertyInfo
.CPropertyVisitor2<R,P> Visitor forCPropertyInfo
.ReferencePropertyInfo
for the compiler.TypeInfo
at the compile-time.TypeRef
for XJC.ValuePropertyInfo
implementation for XJC.CTypeInfo
for the DOM node.Root of the object model that represents the code that needs to be generated.represents a possible number of occurence.Mark model components which does additional code generation.Symbol space for ID/IDREF.Information about how another type is referenced.Factory methods to create a newTypeUse
from an existing one.