|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This defines the plugin interface for template engine wrappers for the WebTemplate Ant task.
| Method Summary | |
void |
convert(java.io.File srcParent,
java.io.File destFile,
java.lang.String template,
java.util.Properties attributes)
Converts a single file using the template engine. |
void |
setParent(org.apache.tools.ant.Task parent)
Allows the WebTemplate task to pass the plugin a reference to the Parent (the caller) so that it can send it log messages. |
| Method Detail |
public void convert(java.io.File srcParent,
java.io.File destFile,
java.lang.String template,
java.util.Properties attributes)
throws org.apache.tools.ant.BuildException
The parameters include the source data file and the template as well as the destination file where the resulting converted file will be written by this method.
srcParent - name of the input file's parent for locating the template file.destFile - name of the destination file.template - name of the template fileattributes - A java.util.Properties file that contains the data and content
org.apache.tools.ant.BuildExceptionpublic void setParent(org.apache.tools.ant.Task parent)
parent -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||