Class VelocityGenerator

  • All Implemented Interfaces:
    org.codehaus.modello.plugin.ModelloGenerator

    @Named("velocity")
    public class VelocityGenerator
    extends org.codehaus.modello.plugin.AbstractModelloGenerator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generate​(org.codehaus.modello.model.Model model, java.util.Map<java.lang.String,​java.lang.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 java.lang.Object

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

      • VELOCITY_BASEDIR

        public static final java.lang.String VELOCITY_BASEDIR
        See Also:
        Constant Field Values
      • VELOCITY_TEMPLATES

        public static final java.lang.String VELOCITY_TEMPLATES
        See Also:
        Constant Field Values
      • VELOCITY_PARAMETERS

        public static final java.lang.String VELOCITY_PARAMETERS
        See Also:
        Constant Field Values
      • MODELLO_VELOCITY_OUTPUT

        public static final java.lang.String MODELLO_VELOCITY_OUTPUT
        See Also:
        Constant Field Values
    • Constructor Detail

      • VelocityGenerator

        public VelocityGenerator()
    • Method Detail

      • generate

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