|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.Task | +--org.apache.velocity.texen.ant.TexenTask
An ant task for generating output by using Velocity
Field Summary | |
protected java.util.Properties |
contextProperties
These are properties that are fed into the initial context from a properties file. |
protected java.lang.String |
controlTemplate
This is the control template that governs the output. |
protected java.lang.String |
outputDirectory
This is where texen will place all the output that is a product of the generation process. |
protected java.lang.String |
outputFile
This is the file where the generated text will be placed. |
protected java.lang.String |
templatePath
This is where Velocity will look for templates using the file template loader. |
Fields inherited from class org.apache.tools.ant.Task |
description, location, project, target, taskName, taskType, wrapper |
Constructor Summary | |
TexenTask()
|
Method Summary | |
void |
execute()
Execute the input script with WM |
java.util.Properties |
getContextProperties()
Set the context properties that will be fed into the initial context be the generating process starts. |
java.lang.String |
getControlTemplate()
Get the control template for the generating process. |
java.lang.String |
getOutputDirectory()
Get the output directory. |
java.lang.String |
getOutputFile()
Get the output file for the generation process. |
java.lang.String |
getTemplatePath()
Get the path where Velocity will look for templates using the file template loader. |
Context |
initControlContext()
|
void |
setContextProperties(java.lang.String file)
Set the context properties that will be fed into the initial context be the generating process starts. |
void |
setControlTemplate(java.lang.String controlTemplate)
Get the control template for the generating process. |
void |
setOutputDirectory(java.lang.String outputDirectory)
Set the output directory. |
void |
setOutputFile(java.lang.String outputFile)
Set the output file for the generation process. |
void |
setTemplatePath(java.lang.String templatePath)
Set the path where Velocity will look for templates using the file template loader. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setProject, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.lang.String controlTemplate
protected java.lang.String templatePath
protected java.lang.String outputDirectory
protected java.lang.String outputFile
protected java.util.Properties contextProperties
Constructor Detail |
public TexenTask()
Method Detail |
public void setControlTemplate(java.lang.String controlTemplate)
public java.lang.String getControlTemplate()
public void setTemplatePath(java.lang.String templatePath)
public java.lang.String getTemplatePath()
public void setOutputDirectory(java.lang.String outputDirectory)
public java.lang.String getOutputDirectory()
public void setOutputFile(java.lang.String outputFile)
public java.lang.String getOutputFile()
public void setContextProperties(java.lang.String file)
public java.util.Properties getContextProperties()
public Context initControlContext()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |