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 (kohsuke.kawaguchi@sun.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal JDefinedClassThe implementation aspect of a bean.final JClassThe implementation class that shall be used for reference.final JDefinedClassThe exposed aspect of the a bean.final CClassInfoThisClassOutlineholds information about thisCClassInfo. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass) -
Method Summary
Modifier and TypeMethodDescription_package()PackageOutlinethat contains this class.final FieldOutline[]Gets all theFieldOutlines newly declared in this class.Provides customization output.final ClassOutlineReturns 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 Outlineparent()AOutlinethat encloses all the class outlines.
-
Field Details
-
target
ThisClassOutlineholds 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
implClassmethod, 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
AOutlinethat encloses all the class outlines. -
_package
PackageOutlinethat contains this class. -
getDeclaredFields
Gets all theFieldOutlines 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:CustomizableOutlineProvides customization output.- Specified by:
getImplClassin interfaceCustomizableOutline- Returns:
- Implementation class
-
getTarget
Description copied from interface:CustomizableOutlineProvides bound information about customizable target.- Specified by:
getTargetin interfaceCustomizableOutline- Returns:
- customizable target
-