Package com.sun.tools.xjc.generator.bean
Class DualObjectFactoryGenerator
- java.lang.Object
-
- com.sun.tools.xjc.generator.bean.ObjectFactoryGenerator
-
- com.sun.tools.xjc.generator.bean.DualObjectFactoryGenerator
-
public final class DualObjectFactoryGenerator extends ObjectFactoryGenerator
ObjectFactoryGeneratorused when we generate interfaces and implementations in separate packages.publicOFGandprivateOFGgives you access toObjectFactorys in both packages, if you need to.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description ObjectFactoryGeneratorprivateOFGObjectFactoryGeneratorpublicOFG
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JDefinedClassgetObjectFactory()Returns the private version (which is what gets used at runtime.)
-
-
-
Field Detail
-
publicOFG
public final ObjectFactoryGenerator publicOFG
-
privateOFG
public final ObjectFactoryGenerator privateOFG
-
-
Method Detail
-
getObjectFactory
public JDefinedClass getObjectFactory()
Returns the private version (which is what gets used at runtime.)- Specified by:
getObjectFactoryin classObjectFactoryGenerator
-
-