public abstract class AbstractReaderWriterGenerator extends VelocityGenerator
| Constructor and Description |
|---|
AbstractReaderWriterGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getFormat() |
protected abstract Class<?> |
getReaderClass() |
protected String |
getTemplateName()
Returns the velocity template which should be merged.
|
protected abstract Class<?> |
getWriterClass() |
protected void |
populateVelocityContext(org.apache.velocity.VelocityContext velocityContext,
com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle)
Gives subclasses a chance to put extra information into the velocity
context.
|
generate, getInterfaceNameprotected void populateVelocityContext(org.apache.velocity.VelocityContext velocityContext,
com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle)
VelocityGeneratorTypeContext instance for the requested reader / writer and
relevant model
populateVelocityContext in class VelocityGeneratorprotected String getTemplateName()
VelocityGeneratorgetTemplateName in class VelocityGeneratorprotected abstract String getFormat()
protected abstract Class<?> getReaderClass()
protected abstract Class<?> getWriterClass()
Copyright © 2013 Harald Pehl. All Rights Reserved.