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-CClassInfo
information for filling in methods/fields for a bean. This interface is accessible fromOutline
- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description JDefinedClass
implClass
The implementation aspect of a bean.JClass
implRef
The implementation class that shall be used for reference.JDefinedClass
ref
The exposed aspect of the a bean.CClassInfo
target
ThisClassOutline
holds information about thisCClassInfo
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClassOutline(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()
PackageOutline
that contains this class.FieldOutline[]
getDeclaredFields()
Gets all theFieldOutline
s newly declared in this class.JDefinedClass
getImplClass()
Provides customization output.ClassOutline
getSuperClass()
Returns the super class of this class, if it has the super class and it is also a JAXB-bound class.CCustomizable
getTarget()
Provides bound information about customizable target.abstract Outline
parent()
AOutline
that encloses all the class outlines.
-
-
-
Field Detail
-
target
@NotNull public final CClassInfo target
ThisClassOutline
holds 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
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 Detail
-
ClassOutline
protected ClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass)
-
-
Method Detail
-
_package
@NotNull public PackageOutline _package()
PackageOutline
that contains this class.
-
getDeclaredFields
public final FieldOutline[] getDeclaredFields()
Gets all theFieldOutline
s 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:CustomizableOutline
Provides customization output.- Specified by:
getImplClass
in interfaceCustomizableOutline
- Returns:
- Implementation class
-
getTarget
public CCustomizable getTarget()
Description copied from interface:CustomizableOutline
Provides bound information about customizable target.- Specified by:
getTarget
in interfaceCustomizableOutline
- Returns:
- customizable target
-
-