com.cedarsoft.serialization.generator.output
Class GeneratorBase<T extends com.cedarsoft.codegen.DecisionCallback>

java.lang.Object
  extended by com.cedarsoft.serialization.generator.output.GeneratorBase<T>
Type Parameters:
T - the type of the decision callback
Direct Known Subclasses:
AbstractGenerator, AbstractGenerator

public abstract class GeneratorBase<T extends com.cedarsoft.codegen.DecisionCallback>
extends Object

Abstract base class for all types of generators


Field Summary
protected  com.cedarsoft.codegen.CodeGenerator<T> codeGenerator
           
protected  com.sun.codemodel.JCodeModel codeModel
           
 
Constructor Summary
protected GeneratorBase(com.cedarsoft.codegen.CodeGenerator<T> codeGenerator)
           
 
Method Summary
 com.cedarsoft.codegen.CodeGenerator<T> getCodeGenerator()
           
 com.sun.codemodel.JCodeModel getCodeModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

codeGenerator

@NotNull
protected final com.cedarsoft.codegen.CodeGenerator<T extends com.cedarsoft.codegen.DecisionCallback> codeGenerator

codeModel

@NotNull
protected final com.sun.codemodel.JCodeModel codeModel
Constructor Detail

GeneratorBase

protected GeneratorBase(@NotNull
                        com.cedarsoft.codegen.CodeGenerator<T> codeGenerator)
Method Detail

getCodeGenerator

@NotNull
public final com.cedarsoft.codegen.CodeGenerator<T> getCodeGenerator()

getCodeModel

@NotNull
public final com.sun.codemodel.JCodeModel getCodeModel()


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.