public abstract class AbstractFileGenerator extends AbstractGenerator
| Constructor and Description |
|---|
AbstractFileGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected Map |
generateFile(PluginModel pm)
Produces the file code in a map
|
protected String |
getCode(PluginModel pm)
Produces the code
|
protected abstract String |
getFilename(PluginModel pm)
Get the filename
|
protected String |
getFilePath(PluginModel pm)
Produces the code
|
String |
getPath()
Returns the Path
|
void |
setPath(String strPath)
Sets the Path
|
build, build, build, build, getFilePath, getFirstCaps, getModel, getTemplate, setTemplateprotected abstract String getFilename(PluginModel pm)
pm - The plugin modelpublic String getPath()
public void setPath(String strPath)
strPath - The Pathprotected String getCode(PluginModel pm)
pm - the plugin modelprotected String getFilePath(PluginModel pm)
pm - the plugin modelprotected Map generateFile(PluginModel pm)
pm - the plugin modelCopyright © 2015 City of Paris. All rights reserved.