|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.finalist.jaggenerator.template.Template
This class represents a JAG 'generation template'. A generation template is in fact a directory containing a collection of files and subdirectories. The template directory must have a "template.xml" configuration file, which contains information about the template and what configuration options are to be presented to the user.
| Field Summary | |
static java.lang.String |
DEFAULT_ENGINE_CLASS
The default template engine class. |
| Constructor Summary | |
Template(java.io.File templateDir)
|
|
| Method Summary | |
TemplateConfigParameter[] |
getConfigParams()
Gets the configuration paramaters defined for this template. |
java.lang.String |
getDescription()
|
java.lang.String |
getEngine()
|
java.lang.String |
getEngineClass()
|
java.lang.String |
getName()
Gets the name of this template. |
java.io.File |
getTemplateDir()
Gets the base directory of this template. |
void |
setTemplateDir(java.io.File templateDir)
Sets the base directory of this template. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_ENGINE_CLASS
| Constructor Detail |
public Template(java.io.File templateDir)
throws TemplateConfigException
| Method Detail |
public java.lang.String getName()
public java.io.File getTemplateDir()
public void setTemplateDir(java.io.File templateDir)
public java.lang.String getDescription()
public java.lang.String getEngine()
public java.lang.String getEngineClass()
public TemplateConfigParameter[] getConfigParams()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||