Package org.apache.cxf.tools.common
Class VelocityGenerator
- java.lang.Object
-
- org.apache.cxf.tools.common.VelocityGenerator
-
public final class VelocityGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description VelocityGenerator()
VelocityGenerator(boolean log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAttributes()
void
doWrite(String templateName, Writer outputs)
File
parseOutputName(String packageName, String filename)
File
parseOutputName(String packageName, String filename, String ext)
void
setAttributes(String n, Object value)
void
setBaseDir(String dir)
void
setCommonAttributes()
-
-
-
Method Detail
-
doWrite
public void doWrite(String templateName, Writer outputs) throws ToolException
- Throws:
ToolException
-
setBaseDir
public void setBaseDir(String dir)
-
parseOutputName
public File parseOutputName(String packageName, String filename) throws ToolException
- Throws:
ToolException
-
parseOutputName
public File parseOutputName(String packageName, String filename, String ext) throws ToolException
- Throws:
ToolException
-
setCommonAttributes
public void setCommonAttributes()
-
clearAttributes
public void clearAttributes()
-
-