com.sun.tools.xjc.generator.bean

Class ObjectFactoryGeneratorImpl

abstract class ObjectFactoryGeneratorImpl extends ObjectFactoryGenerator

Generates ObjectFactory then wraps it and provides access to it.

The ObjectFactory contains factory methods for each schema derived content class

Constructor Summary
ObjectFactoryGeneratorImpl(BeanGenerator outline, Model model, JPackage targetPackage)
Method Summary
JDefinedClassgetObjectFactory()
Returns a reference to the generated (public) ObjectFactory
protected voidpopulate(CElementInfo ei, Aspect impl, Aspect exposed)
Adds code for the given CElementInfo to ObjectFactory.
protected voidpopulate(ClassOutlineImpl cc, JClass sigType)

Constructor Detail

ObjectFactoryGeneratorImpl

public ObjectFactoryGeneratorImpl(BeanGenerator outline, Model model, JPackage targetPackage)

Method Detail

getObjectFactory

public JDefinedClass getObjectFactory()
Returns a reference to the generated (public) ObjectFactory

populate

protected final void populate(CElementInfo ei, Aspect impl, Aspect exposed)
Adds code for the given CElementInfo to ObjectFactory.

populate

protected final void populate(ClassOutlineImpl cc, JClass sigType)