com.pow2.texen.ant
Class SimplePreprocessorTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.velocity.texen.ant.TexenTask
              extended bycom.pow2.texen.ant.SimplePreprocessorTask

public class SimplePreprocessorTask
extends org.apache.velocity.texen.ant.TexenTask

Simple Texen Task class.
Put some useful classes into the control context.
See initControlContext for further details.

Author:
Luca Fossato

Field Summary
 
Fields inherited from class org.apache.velocity.texen.ant.TexenTask
contextProperties, controlTemplate, inputEncoding, outputDirectory, outputEncoding, outputFile, templatePath, useClasspath
 
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
SimplePreprocessorTask()
           
 
Method Summary
 org.apache.velocity.context.Context initControlContext()
          Set up the initial context with some useful references to utility classes.
 
Methods inherited from class org.apache.velocity.texen.ant.TexenTask
cleanup, execute, getContextProperties, getControlTemplate, getOutputDirectory, getOutputFile, getTemplatePath, populateInitialContext, setContextProperties, setControlTemplate, setInputEncoding, setOutputDirectory, setOutputEncoding, setOutputFile, setTemplatePath, setUseClasspath
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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
 

Constructor Detail

SimplePreprocessorTask

public SimplePreprocessorTask()
Method Detail

initControlContext

public org.apache.velocity.context.Context initControlContext()
                                                       throws Exception
Set up the initial context with some useful references to utility classes.
Here they are:

Returns:
the context
Throws:
Exception - if any error occurs


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.