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") public class VelocityGenerator extends org.codehaus.modello.plugin.AbstractModelloGenerator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
    Deprecated.
    use ModelloParameterConstants.VELOCITY_BASEDIR
    static final String
    Deprecated.
    use ModelloParameterConstants.VELOCITY_PARAMETERS
    static final String
    Deprecated.
    use ModelloParameterConstants.VELOCITY_TEMPLATES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generate(org.codehaus.modello.model.Model model, Map<String,Object> parameters)
     

    Methods inherited from class org.codehaus.modello.plugin.AbstractModelloGenerator

    capitalise, getBuildContext, getEncoding, getFieldsForClass, getGeneratedHeader, getGeneratedVersion, getHeader, getLicenseHeader, getLogger, getModel, getOutputDirectory, getParameter, initialize, isClassInModel, isCollection, isEmpty, isInnerAssociation, isMap, isPackageWithVersion, newWriter, newWriter, requireParameter, singular, uncapitalise

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • VelocityGenerator

      public VelocityGenerator()
  • Method Details

    • generate

      public void generate(org.codehaus.modello.model.Model model, Map<String,Object> parameters) throws org.codehaus.modello.ModelloException
      Throws:
      org.codehaus.modello.ModelloException