org.webmacro.tools
Class EvalTemplates
java.lang.Object
|
+--org.webmacro.tools.EvalTemplates
- public class EvalTemplates
- extends java.lang.Object
EvalTemplates supports an ant task execution to evaluate a set of
templates.
This class has been structured to make use of WMEval which maintains
an instance of WM and has support methods for evaluating templates
and routing output.
This is a batch oriented class which is referenced normally as part
of an ant build script. See the WebMacro build script for actual usage.
- Author:
- Lane Sharman
- See Also:
TemplateEvalAntTask
Method Summary |
static void |
main(java.lang.String[] args)
Normally this main is invoked from an ant task but it can
be invoked from any main launcher including
a command line. |
void |
run(java.lang.String inputTemplate)
Evaluates a single template file argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvalTemplates
public EvalTemplates()
run
public void run(java.lang.String inputTemplate)
- Evaluates a single template file argument.
Exceptions are reported to standard error, not thrown.
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Normally this main is invoked from an ant task but it can
be invoked from any main launcher including
a command line.
- Parameters:
args
- One or more file references to an input template file name.