Package com.sun.tools.xjc.model
Implementation of the
com.sun.xml.bind.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 com.sun.xml.bind.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
Locatorobject 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
XSComponentobject from which the model components are created from. SeeCCustomizable.getSchemaComponent()for example.- Plugin customizations
- See
CCustomizable.
-
Interface Summary Interface Description CClass EitherCClassInfoorCClassRef.CClassInfoParent Parent of aCClassInfo/CElementInfo.CClassInfoParent.Visitor<T> Visitor ofCClassInfoParentCCustomizable Implemented by model components that can have customizations contributed byPlugins.CElement CNonElement NonElementat compile-time.CPropertyVisitor<V> Visitor forCPropertyInfo.CPropertyVisitor2<R,P> Visitor forCPropertyInfo.CTypeInfo TypeInfoat the compile-time.Populatable Mark model components which does additional code generation.TypeUse Information about how another type is referenced. -
Class Summary Class Description AutoClassNameAllocator ClassNameAllocatorfilter that performs automatic name conflict resolution.CAdapter ExtendedAdapterfor use within XJC.CArrayInfo Because XJC doesn't generate the array binding, this class will never show up in the model constructed by XJC.CAttributePropertyInfo AttributePropertyInfofor the compiler.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.CClassInfo MutableClassInforepresentation.CClassInfoParent.Package JPackageas aCClassInfoParent.CClassRef Reference to an existing class.CCustomizations Represents the list ofCPluginCustomizations attached to a JAXB model component.CDefaultValue Object that computes the default value expression lazily.CElementInfo ElementInfoimplementation for the compile-time model.CElementPropertyInfo ElementPropertyInfofor the compiler.CEnumConstant Enumeration constant.CEnumLeafInfo Transducer that converts a string into an "enumeration class." The structure of the generated class needs to precisely follow the JAXB spec.Constructor Constructor declaration.CPluginCustomization Vendor extension customization contributed fromPlugins.CPropertyInfo Model of a property to be generated.CReferencePropertyInfo ReferencePropertyInfofor the compiler.CTypeRef TypeReffor XJC.CValuePropertyInfo ValuePropertyInfoimplementation for XJC.CWildcardTypeInfo CTypeInfofor the DOM node.Model Root of the object model that represents the code that needs to be generated.Multiplicity represents a possible number of occurence.SymbolSpace Symbol space for ID/IDREF.TypeUseFactory Factory methods to create a newTypeUsefrom an existing one. -
Enum Summary Enum Description CElementPropertyInfo.CollectionMode