Top Description Methods
com.sun.tools.xjc.generator.bean.field

public Interface FieldRenderer

Known Direct Implementers
com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer, com.sun.tools.xjc.generator.bean.field.IsSetFieldRenderer, com.sun.tools.xjc.generator.bean.field.UntypedListFieldRenderer, com.sun.tools.xjc.generator.bean.field.ConstFieldRenderer, com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer
Imports
com.sun.tools.xjc.generator.bean.ClassOutlineImpl, com.sun.tools.xjc.model.CPropertyInfo, com.sun.tools.xjc.outline.FieldOutline

Abstract model of one field in a generated class.

Responsible for "realizing" a Java property by actually generating members(s) to store the property value and a set of methods to manipulate them.

Objects that implement this interface also encapsulates the internal access to the field.

For discussion of the model this interface is representing, see the "field meta model" design document.

Revisit

refactor this to two interfaces that provide (1) internal access and (2) external access.

Author
Kohsuke Kawaguchi ([email protected])

Method Summary

Modifier and TypeMethod and Description
public FieldOutline
generate(ClassOutlineImpl context, CPropertyInfo prop)

Generates accesssors and fields for the given implementation class, then return FieldOutline for accessing the generated field.

Method Detail

generateback to summary
public FieldOutline generate(ClassOutlineImpl context, CPropertyInfo prop)

Generates accesssors and fields for the given implementation class, then return FieldOutline for accessing the generated field.