Class VelocityGenerator
java.lang.Object
org.codehaus.modello.plugin.AbstractModelloGenerator
org.codehaus.modello.plugin.velocity.VelocityGenerator
- All Implemented Interfaces:
org.codehaus.modello.plugin.ModelloGenerator
@Named("velocity")
@Singleton
public class VelocityGenerator
extends org.codehaus.modello.plugin.AbstractModelloGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(org.codehaus.modello.model.Model model, Properties parameters) Methods inherited from class org.codehaus.modello.plugin.AbstractModelloGenerator
capitalise, getBuildContext, getEncoding, getFieldsForClass, getGeneratedVersion, getHeader, getLogger, getModel, getOutputDirectory, getParameter, getParameter, getParameter, initialize, isClassInModel, isCollection, isEmpty, isInnerAssociation, isMap, isPackageWithVersion, newWriter, newWriter, singular, uncapitalise
-
Field Details
-
VELOCITY_BASEDIR
- See Also:
-
VELOCITY_TEMPLATES
- See Also:
-
VELOCITY_PARAMETERS
- See Also:
-
MODELLO_VELOCITY_OUTPUT
- See Also:
-
-
Constructor Details
-
VelocityGenerator
public VelocityGenerator()
-
-
Method Details
-
generate
public void generate(org.codehaus.modello.model.Model model, Properties parameters) throws org.codehaus.modello.ModelloException - Throws:
org.codehaus.modello.ModelloException
-