com.sun.tools.xjc.outline

Class ClassOutline

public abstract class ClassOutline extends Object

Outline object that provides per-CClassInfo information for filling in methods/fields for a bean. This interface is accessible from Outline
Field Summary
JDefinedClassimplClass
The implementation aspect of a bean.
JClassimplRef
The implementation class that shall be used for reference.
JDefinedClassref
The exposed aspect of the a bean. implClass is always assignable to this type.
CClassInfotarget
This ClassOutline holds information about this CClassInfo.
Constructor Summary
protected ClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass)
Method Summary
FieldOutline[]getDeclaredFields()
Gets all the FieldOutlines newly declared in this class.
ClassOutlinegetSuperClass()
Returns the super class of this class, if it has the super class and it is also a JAXB-bound class.
Outlineparent()
A Outline that encloses all the class outlines.
PackageOutline_package()
PackageOutline that contains this class.

Field Detail

implClass

JDefinedClass implClass
The implementation aspect of a bean. The actual place where fields/methods should be generated into.

implRef

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.

ref

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.

target

CClassInfo target
This ClassOutline holds information about this CClassInfo.

Constructor Detail

ClassOutline

protected ClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass)

Method Detail

getDeclaredFields

public final FieldOutline[] getDeclaredFields()
Gets all the FieldOutlines 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.

parent

Outline parent()
A Outline that encloses all the class outlines.

_package

PackageOutline _package()
PackageOutline that contains this class.