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

public abstract Class ObjectFactoryGenerator

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.tools.xjc.generator.bean.ObjectFactoryGeneratorImpl, com.sun.tools.xjc.generator.bean.DualObjectFactoryGenerator
Imports
com.sun.codemodel.JDefinedClass, com.sun.tools.xjc.model.CElementInfo

Generates ObjectFactory then wraps it and provides access to it.

The ObjectFactory contains factory methods for each schema derived content class

Author
Ryan Shoemaker

Constructor Summary

AccessConstructor and Description
protected
ObjectFactoryGenerator()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public abstract JDefinedClass
getObjectFactory()

Returns a reference to the generated (public) ObjectFactory

pack-priv abstract void
populate(CElementInfo ei)

Adds code for the given CElementInfo to ObjectFactory.

pack-priv abstract void
populate(ClassOutlineImpl cc)

Adds code that is relevant to a given ClassOutlineImpl to ObjectFactory.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ObjectFactoryGeneratorback to summary
protected ObjectFactoryGenerator()

Default constructor.

Method Detail

getObjectFactoryback to summary
public abstract JDefinedClass getObjectFactory()

Returns a reference to the generated (public) ObjectFactory

populateback to summary
pack-priv abstract void populate(CElementInfo ei)

Adds code for the given CElementInfo to ObjectFactory.

populateback to summary
pack-priv abstract void populate(ClassOutlineImpl cc)

Adds code that is relevant to a given ClassOutlineImpl to ObjectFactory.