|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task net.sf.jameleon.ant.GenSyntaxReferenceTask
public class GenSyntaxReferenceTask
An Ant task that takes the registered FunctionalPoints and generates a syntax reference for each one.
Field Summary | |
---|---|
protected File |
outputFile
|
protected List |
parameters
|
protected String |
plugin
|
protected String |
templateName
|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
GenSyntaxReferenceTask()
|
Method Summary | |
---|---|
void |
addTemplateParam(org.apache.tools.ant.types.Parameter parameter)
Adds a template parameter to be passed to the Velocity template |
void |
execute()
Jameleon's implementation of Task.execute(). |
void |
setOutputFile(File fileName)
Set the file where the syntax reference will be generated. |
void |
setPlugin(String plugin)
Sets the plugin to generate the syntax reference from. |
void |
setTemplateName(String templateName)
Sets the name of the file, not including path of the template to use. |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File outputFile
protected String plugin
protected String templateName
protected List parameters
Constructor Detail |
---|
public GenSyntaxReferenceTask()
Method Detail |
---|
public void addTemplateParam(org.apache.tools.ant.types.Parameter parameter)
parameter
- a name/value parameter.public void setTemplateName(String templateName)
templateName
- - the name of the file, not including path of the template to use.
NOTE: This fileName is loaded from the CLASSPATH.public void setPlugin(String plugin)
plugin
- - the plugin to generate the syntax reference from. For the htmlunit-plugin, pass in 'htmlunit-plugin'.public void setOutputFile(File fileName)
fileName
- - The name of the file.public final void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- Ant's way of reporting exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |