org.codehaus.enunciate.template.freemarker
Class EnunciateFileTransform
java.lang.Object
net.sf.jelly.apt.freemarker.FreemarkerTransform<net.sf.jelly.apt.strategies.FileStrategy>
net.sf.jelly.apt.freemarker.transforms.FileTransform
org.codehaus.enunciate.template.freemarker.EnunciateFileTransform
- All Implemented Interfaces:
- freemarker.template.TemplateModel, freemarker.template.TemplateTransformModel
public class EnunciateFileTransform
- extends net.sf.jelly.apt.freemarker.transforms.FileTransform
Since Enunciate uses multiple modules, it needs a special transform to handle creating
new files that creates the files in a specified output directory.
- Author:
- Ryan Heaton
| Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
| Methods inherited from class net.sf.jelly.apt.freemarker.FreemarkerTransform |
convertString, findSetter, getTransformNamespace, getWriter, setupStrategy, unwrap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnunciateFileTransform
public EnunciateFileTransform(java.lang.String namespace)
newStrategy
public net.sf.jelly.apt.strategies.FileStrategy newStrategy()
- Overrides:
newStrategy in class net.sf.jelly.apt.freemarker.transforms.FileTransform
getTransformName
public java.lang.String getTransformName()
- Overrides:
getTransformName in class net.sf.jelly.apt.freemarker.FreemarkerTransform<net.sf.jelly.apt.strategies.FileStrategy>
getOutputDirectory
public java.io.File getOutputDirectory()
- The directory into which to put the new files.
- Returns:
- The directory into which to put the new files.
setOutputDirectory
public void setOutputDirectory(java.io.File outputDirectory)
- The directory into which to put the new files.
null means
use the default annotation processing environment directory.
- Parameters:
outputDirectory - The directory into which to put the new files.