Top Description Interfaces Classes
module com.sun.xml.bind.osgi

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
org.xml.sax.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
com.sun.xml.xsom.XSComponent object from which the model components are created from. See com.sun.tools.xjc.model.CCustomizable#getSchemaComponent() for example.
Plugin customizations
See com.sun.tools.xjc.model.CCustomizable.

Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
public interface
CCustomizable

Implemented by model components that can have customizations contributed by Plugins.

public interface
public interface
CNonElement

NonElement at compile-time.

public interface
public interface
CPropertyVisitor2<
the return type of this visitor's methods. Use Void for visitors that do not need to return results.
R
,
the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
P
>

Visitor for CPropertyInfo.

public interface
CTypeInfo

TypeInfo at the compile-time.

public interface
Populatable

Mark model components which does additional code generation.

public interface
TypeUse

Information about how another type is referenced.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractCElement

Partial default implementation of CElement.

pack-priv abstract class
AbstractCTypeInfoImpl

Partial implementation of CTypeInfo.

public class
AutoClassNameAllocator

ClassNameAllocator filter that performs automatic name conflict resolution.

public class
CAdapter

Extended Adapter for use within XJC.

public class
CArrayInfo

Because XJC doesn't generate the array binding, this class will never show up in the model constructed by XJC.

public class
public abstract class
CBuiltinLeafInfo

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.

public class
CClassInfo

Mutable ClassInfo representation.

public class
CClassRef

Reference to an existing class.

public class
CCustomizations

Represents the list of CPluginCustomizations attached to a JAXB model component.

public abstract class
CDefaultValue

Object that computes the default value expression lazily.

public class
CElementInfo

ElementInfo implementation for the compile-time model.

public class
public class
CEnumConstant

Enumeration constant.

public class
CEnumLeafInfo

Transducer that converts a string into an "enumeration class." The structure of the generated class needs to precisely follow the JAXB spec.

pack-priv class
ClassNameAllocatorWrapper

Wraps ClassNameAllocator and provides convenience.

public class
Constructor

Constructor declaration.

public class
CPluginCustomization

Vendor extension customization contributed from Plugins.

public abstract class
CPropertyInfo

Model of a property to be generated.

public class
pack-priv abstract class
public class
CTypeRef

TypeRef for XJC.

public class
CValuePropertyInfo

ValuePropertyInfo implementation for XJC.

public class
CWildcardTypeInfo

CTypeInfo for the DOM node.

public class
Model

Root of the object model that represents the code that needs to be generated.

public class
Multiplicity

represents a possible number of occurrence.

public class
SymbolSpace

Symbol space for ID/IDREF.

public class
TypeUseFactory

Factory methods to create a new TypeUse from an existing one.

pack-priv class
TypeUseImpl

General-purpose TypeUse implementation.