Apache CXF API

org.apache.cxf.tools.common
Class VelocityGenerator

java.lang.Object
  extended by org.apache.cxf.tools.common.VelocityGenerator

public final class VelocityGenerator
extends Object


Constructor Summary
VelocityGenerator()
           
VelocityGenerator(boolean log)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityGenerator

public VelocityGenerator()

VelocityGenerator

public VelocityGenerator(boolean log)
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()

setAttributes

public void setAttributes(String n,
                          Object value)

Apache CXF API

Apache CXF