org.apache.tiles.autotag.plugin
Class GenerateVelocityMojo

Package class diagram package GenerateVelocityMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.tiles.autotag.plugin.AbstractGenerateMojo
          extended by org.apache.tiles.autotag.plugin.GenerateVelocityMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateVelocityMojo
extends AbstractGenerateMojo

Generates Velocity code.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateVelocityMojo()
           
 
Method Summary
protected  TemplateGeneratorFactory createTemplateGeneratorFactory(org.apache.velocity.app.VelocityEngine velocityEngine)
          Creates a template generator factory.
protected  Map<String,String> getParameters()
          Returns the map of parameters.
protected  String getRuntimeClass()
          Name of the Runtime class.
 
Methods inherited from class org.apache.tiles.autotag.plugin.AbstractGenerateMojo
execute
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateVelocityMojo

public GenerateVelocityMojo()
Method Detail

getParameters

protected Map<String,String> getParameters()
Returns the map of parameters.

Specified by:
getParameters in class AbstractGenerateMojo
Returns:
The parameters.

getRuntimeClass

protected String getRuntimeClass()
Name of the Runtime class.

Specified by:
getRuntimeClass in class AbstractGenerateMojo
Returns:
The name of the Runtime class.

createTemplateGeneratorFactory

protected TemplateGeneratorFactory createTemplateGeneratorFactory(org.apache.velocity.app.VelocityEngine velocityEngine)
Description copied from class: AbstractGenerateMojo
Creates a template generator factory.

Specified by:
createTemplateGeneratorFactory in class AbstractGenerateMojo
Parameters:
velocityEngine - The Velocity engine.
Returns:
The template generator factory.


Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.