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
public abstract class ClassOutline extends Object implements CustomizableOutline
Outline object that provides per-CClassInfoinformation for filling in methods/fields for a bean. This interface is accessible fromOutline- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
-
Field Summary
Fields Modifier and Type Field Description JDefinedClassimplClassThe implementation aspect of a bean.JClassimplRefThe implementation class that shall be used for reference.JDefinedClassrefThe exposed aspect of the a bean.CClassInfotargetThisClassOutlineholds information about thisCClassInfo.
-
Constructor Summary
Constructors Modifier Constructor Description protectedClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PackageOutline_package()PackageOutlinethat contains this class.FieldOutline[]getDeclaredFields()Gets all theFieldOutlines newly declared in this class.JDefinedClassgetImplClass()Provides customization output.ClassOutlinegetSuperClass()Returns the super class of this class, if it has the super class and it is also a JAXB-bound class.CCustomizablegetTarget()Provides bound information about customizable target.abstract Outlineparent()AOutlinethat encloses all the class outlines.
-
-
-
Field Detail
-
target
@NotNull public final CClassInfo target
ThisClassOutlineholds information about thisCClassInfo.
-
ref
@NotNull public final JDefinedClass 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
@NotNull public final JDefinedClass implClass
The implementation aspect of a bean. The actual place where fields/methods should be generated into.
-
implRef
@NotNull public final JClass 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 Detail
-
ClassOutline
protected ClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass)
-
-
Method Detail
-
_package
@NotNull public PackageOutline _package()
PackageOutlinethat contains this class.
-
getDeclaredFields
public final FieldOutline[] getDeclaredFields()
Gets all theFieldOutlines newly declared in this class.
-
getSuperClass
public final ClassOutline 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
public JDefinedClass getImplClass()
Description copied from interface:CustomizableOutlineProvides customization output.- Specified by:
getImplClassin interfaceCustomizableOutline- Returns:
- Implementation class
-
getTarget
public CCustomizable getTarget()
Description copied from interface:CustomizableOutlineProvides bound information about customizable target.- Specified by:
getTargetin interfaceCustomizableOutline- Returns:
- customizable target
-
-