Top Description Fields Constructors Methods
com.sun.tools.xjc.outline

public abstract Class ClassOutline

extends Object
implements CustomizableOutline
Class Inheritance
All Implemented Interfaces
com.sun.tools.xjc.outline.CustomizableOutline
Known Direct Subclasses
com.sun.tools.xjc.generator.bean.ClassOutlineImpl
Imports
java.util.List, com.sun.codemodel.JClass, .JDefinedClass, com.sun.tools.xjc.model.CClassInfo, .CCustomizable, .CPropertyInfo, com.sun.istack.NotNull

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 TypeField and Description
public final JDefinedClass
implClass

The implementation aspect of a bean.

public final JClass
implRef

The implementation class that shall be used for reference.

public final JDefinedClass
ref

The exposed aspect of the a bean.

public final CClassInfo
target

This ClassOutline holds information about this CClassInfo.

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public PackageOutline
_package()

PackageOutline that contains this class.

public final FieldOutline[]
getDeclaredFields()

Gets all the FieldOutlines newly declared in this class.

public JDefinedClass
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.

public CCustomizable
getTarget()

Implements com.sun.tools.xjc.outline.CustomizableOutline.getTarget.

Provides bound information about customizable target.

public abstract Outline
parent()

A Outline that encloses all the class outlines.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

implClassback to summary
public final JDefinedClass implClass

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

Annotations
@NotNull
implRefback to summary
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.

Annotations
@NotNull
refback to summary
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.

Annotations
@NotNull
targetback to summary
public final CClassInfo target

This ClassOutline holds information about this CClassInfo.

Annotations
@NotNull

Constructor Detail

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

Method Detail

_packageback to summary
public PackageOutline _package()

PackageOutline that contains this class.

Annotations
@NotNull
getDeclaredFieldsback to summary
public final FieldOutline[] getDeclaredFields()

Gets all the FieldOutlines newly declared in this class.

getImplClassback to summary
public JDefinedClass getImplClass()

Implements com.sun.tools.xjc.outline.CustomizableOutline.getImplClass.

Doc from com.sun.tools.xjc.outline.CustomizableOutline.getImplClass.

Provides customization output.

Annotations
@Override
getSuperClassback to summary
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.

getTargetback to summary
public CCustomizable getTarget()

Implements com.sun.tools.xjc.outline.CustomizableOutline.getTarget.

Doc from com.sun.tools.xjc.outline.CustomizableOutline.getTarget.

Provides bound information about customizable target.

Annotations
@Override
parentback to summary
public abstract Outline parent()

A Outline that encloses all the class outlines.

Annotations
@NotNull