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

java.lang.Object
  extended by com.sun.tools.xjc.generator.bean.ObjectFactoryGenerator
      extended by com.sun.tools.xjc.generator.bean.DualObjectFactoryGenerator

public final class DualObjectFactoryGenerator
extends ObjectFactoryGenerator

ObjectFactoryGenerator used when we generate interfaces and implementations in separate packages.

publicOFG and privateOFG gives you access to ObjectFactorys in both packages, if you need to.


Field Summary
 ObjectFactoryGenerator privateOFG
           
 ObjectFactoryGenerator publicOFG
           
 
Method Summary
 com.sun.codemodel.JDefinedClass getObjectFactory()
          Returns the private version (which is what gets used at runtime.)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

publicOFG

public final ObjectFactoryGenerator publicOFG

privateOFG

public final ObjectFactoryGenerator privateOFG
Method Detail

getObjectFactory

public com.sun.codemodel.JDefinedClass getObjectFactory()
Returns the private version (which is what gets used at runtime.)

Specified by:
getObjectFactory in class ObjectFactoryGenerator