public abstract class AbstractGenerator extends Generator
Constructor and Description |
---|
AbstractGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeDefinition(com.google.gwt.user.rebind.SourceWriter sourceWriter) |
protected ConfigurationProperty |
findConfigurationProperty(String prop) |
String |
getClassName() |
String |
getPackageName() |
PropertyOracle |
getPropertyOracle() |
protected String |
getSimpleNameFromTypeName(String typeName) |
TreeLogger |
getTreeLogger() |
protected JClassType |
getType(String typeName) |
JClassType |
getTypeClass() |
TypeOracle |
getTypeOracle() |
void |
setClassName(String className) |
void |
setPackageName(String packageName) |
void |
setPropertyOracle(PropertyOracle propertyOracle) |
void |
setTreeLogger(TreeLogger treeLogger) |
void |
setTypeClass(JClassType typeName) |
void |
setTypeOracle(TypeOracle typeOracle) |
protected PrintWriter |
tryCreatePrintWriter(GeneratorContext generatorContext,
String suffix) |
public PropertyOracle getPropertyOracle()
public void setPropertyOracle(PropertyOracle propertyOracle)
public void setTreeLogger(TreeLogger treeLogger)
public TreeLogger getTreeLogger()
public TypeOracle getTypeOracle()
public void setTypeOracle(TypeOracle typeOracle)
public JClassType getTypeClass()
public void setTypeClass(JClassType typeName)
public String getPackageName()
public void setPackageName(String packageName)
public String getClassName()
public void setClassName(String className)
protected PrintWriter tryCreatePrintWriter(GeneratorContext generatorContext, String suffix) throws UnableToCompleteException
UnableToCompleteException
protected JClassType getType(String typeName) throws UnableToCompleteException
UnableToCompleteException
protected ConfigurationProperty findConfigurationProperty(String prop) throws UnableToCompleteException
UnableToCompleteException
protected void closeDefinition(com.google.gwt.user.rebind.SourceWriter sourceWriter)
Copyright © 2010–2014 Arcbees. All rights reserved.