Package com.sun.tools.xjc.outline
Class ClassOutline
java.lang.Object
com.sun.tools.xjc.outline.ClassOutline
- All Implemented Interfaces:
CustomizableOutline
- Direct Known Subclasses:
ClassOutlineImpl
Outline object that provides per-
CClassInfo
information
for filling in methods/fields for a bean.
This interface is accessible from Outline
- Author:
- Kohsuke Kawaguchi ([email protected])
-
Field Summary
Modifier and TypeFieldDescriptionfinal JDefinedClass
The implementation aspect of a bean.final JClass
The implementation class that shall be used for reference.final JDefinedClass
The exposed aspect of the a bean.final CClassInfo
ThisClassOutline
holds information about thisCClassInfo
. -
Constructor Summary
ModifierConstructorDescriptionprotected
ClassOutline
(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass) -
Method Summary
Modifier and TypeMethodDescription_package()
PackageOutline
that contains this class.final FieldOutline[]
Gets all theFieldOutline
s newly declared in this class.Provides customization output.final ClassOutline
Returns the super class of this class, if it has the super class and it is also a JAXB-bound class.Provides bound information about customizable target.abstract Outline
parent()
AOutline
that encloses all the class outlines.
-
Field Details
-
target
ThisClassOutline
holds information about thisCClassInfo
. -
ref
The exposed aspect of the a bean. implClass is always assignable to this type.Usually this is the public content interface, but it could be the same as the implClass.
-
implClass
The implementation aspect of a bean. The actual place where fields/methods should be generated into. -
implRef
The implementation class that shall be used for reference.Usually this field holds the same value as the
implClass
method, but sometimes it holds the user-specified implementation class when it is specified.This is the type that needs to be used for generating fields.
-
-
Constructor Details
-
ClassOutline
protected ClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass)
-
-
Method Details
-
parent
AOutline
that encloses all the class outlines. -
_package
PackageOutline
that contains this class. -
getDeclaredFields
Gets all theFieldOutline
s newly declared in this class. -
getSuperClass
Returns the super class of this class, if it has the super class and it is also a JAXB-bound class. Otherwise null. -
getImplClass
Description copied from interface:CustomizableOutline
Provides customization output.- Specified by:
getImplClass
in interfaceCustomizableOutline
- Returns:
- Implementation class
-
getTarget
Description copied from interface:CustomizableOutline
Provides bound information about customizable target.- Specified by:
getTarget
in interfaceCustomizableOutline
- Returns:
- customizable target
-