com.sun.tools.xjc.generator.bean
Class ObjectFactoryGenerator

java.lang.Object
  extended by com.sun.tools.xjc.generator.bean.ObjectFactoryGenerator
Direct Known Subclasses:
DualObjectFactoryGenerator, ObjectFactoryGeneratorImpl

public abstract class ObjectFactoryGenerator
extends Object

Generates ObjectFactory then wraps it and provides access to it.

The ObjectFactory contains factory methods for each schema derived content class


Constructor Summary
ObjectFactoryGenerator()
           
 
Method Summary
abstract  com.sun.codemodel.JDefinedClass getObjectFactory()
          Returns a reference to the generated (public) ObjectFactory
(package private) abstract  void populate(CElementInfo ei)
          Adds code for the given CElementInfo to ObjectFactory.
(package private) abstract  void populate(ClassOutlineImpl cc)
          Adds code that is relevant to a given ClassOutlineImpl to ObjectFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactoryGenerator

public ObjectFactoryGenerator()
Method Detail

populate

abstract void populate(CElementInfo ei)
Adds code for the given CElementInfo to ObjectFactory.


populate

abstract void populate(ClassOutlineImpl cc)
Adds code that is relevant to a given ClassOutlineImpl to ObjectFactory.


getObjectFactory

public abstract com.sun.codemodel.JDefinedClass getObjectFactory()
Returns a reference to the generated (public) ObjectFactory