|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractFileGenerator
public abstract class AbstractFileGenerator
Abstract Generator
Constructor Summary | |
---|---|
AbstractFileGenerator()
|
Method Summary | |
---|---|
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 |
Methods inherited from class fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator |
---|
build, build, build, build, getFilePath, getFirstCaps, getModel, getTemplate, setTemplate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.paris.lutece.plugins.pluginwizard.service.generator.Generator |
---|
generate |
Constructor Detail |
---|
public AbstractFileGenerator()
Method Detail |
---|
protected abstract String getFilename(PluginModel pm)
pm
- The plugin model
public String getPath()
public void setPath(String strPath)
strPath
- The Pathprotected String getCode(PluginModel pm)
pm
- the plugin model
protected String getFilePath(PluginModel pm)
pm
- the plugin model
protected Map generateFile(PluginModel pm)
pm
- the plugin model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |