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:
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.
com.sun.xml.xsom.XSComponent object from which the model components are created from.
See com.sun.tools.xjc.model.CCustomizable#getSchemaComponent() for example.
com.sun.tools.xjc.model.CCustomizable .
| Modifier and Type | Interface and Description |
|---|---|
| public interface | CClass
Either |
| public interface | CClassInfoParent
Parent of a |
| public interface | CCustomizable
Implemented by model components that can have customizations contributed by |
| public interface | CElement
Either |
| public interface | CNonElement
|
| public interface | |
| public interface | CPropertyVisitor2<
the return type of this visitor's methods. Use R, Void for visitors that do not need to return results.the type of the additional parameter to this visitor's
methods. Use P>Void for visitors that do not need an
additional parameter.Visitor for |
| public interface | |
| public interface | Populatable
Mark model components which does additional code generation. |
| public interface | TypeUse
Information about how another type is referenced. |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract class | AbstractCElement
Partial default implementation of |
| pack-priv abstract class | AbstractCTypeInfoImpl
Partial implementation of |
| public class | AutoClassNameAllocator
|
| public class | |
| 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 | CAttributePropertyInfo
|
| 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 |
| public class | CClassRef
Reference to an existing class. |
| public class | CCustomizations
Represents the list of |
| public abstract class | CDefaultValue
Object that computes the default value expression lazily. |
| public class | CElementInfo
|
| public class | CElementPropertyInfo
|
| 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 |
| public class | Constructor
Constructor declaration. |
| public class | CPluginCustomization
Vendor extension customization contributed from |
| public abstract class | CPropertyInfo
Model of a property to be generated. |
| public class | CReferencePropertyInfo
|
| pack-priv abstract class | CSingleTypePropertyInfo
|
| public class | |
| public class | CValuePropertyInfo
|
| public class | CWildcardTypeInfo
|
| 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 |
| pack-priv class | TypeUseImpl
General-purpose |