org.nuiton.util
Class VelocityTemplateGenerator

java.lang.Object
  extended by org.nuiton.util.VelocityTemplateGenerator

Deprecated. since 1.0.3, move to package org.nuiton.plugin (removed in 1.1.0)

@Deprecated
public class VelocityTemplateGenerator
extends Object

Generator of template base on velocity.

Since:
1.3
Author:
chemit

Field Summary
protected  org.apache.velocity.app.VelocityEngine engine
          Deprecated.  
protected  org.apache.maven.project.MavenProject mavenProject
          Deprecated.  
protected  org.apache.velocity.Template velocityTemplate
          Deprecated.  
 
Constructor Summary
VelocityTemplateGenerator(org.apache.maven.project.MavenProject mavenProject, URL template)
          Deprecated.  
 
Method Summary
protected  void addPropertiesToContext(Properties properties, org.apache.velocity.VelocityContext context)
          Deprecated.  
 void generate(Properties context, File outputFile)
          Deprecated.  
 void generate(Properties context, Writer writer)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

engine

protected org.apache.velocity.app.VelocityEngine engine
Deprecated. 

mavenProject

protected final org.apache.maven.project.MavenProject mavenProject
Deprecated. 

velocityTemplate

protected org.apache.velocity.Template velocityTemplate
Deprecated. 
Constructor Detail

VelocityTemplateGenerator

public VelocityTemplateGenerator(org.apache.maven.project.MavenProject mavenProject,
                                 URL template)
                          throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException
Method Detail

generate

public void generate(Properties context,
                     Writer writer)
              throws Exception
Deprecated. 
Throws:
Exception

generate

public void generate(Properties context,
                     File outputFile)
              throws Exception
Deprecated. 
Throws:
Exception

addPropertiesToContext

protected void addPropertiesToContext(Properties properties,
                                      org.apache.velocity.VelocityContext context)
Deprecated. 


Copyright © 2009 CodeLutin. All Rights Reserved.