com.basilv.envgen
Class SkipGenerationTransform

java.lang.Object
  extended by com.basilv.envgen.SkipGenerationTransform
All Implemented Interfaces:
TemplateModel, TemplateTransformModel

public class SkipGenerationTransform
extends Object
implements TemplateTransformModel

Template to skip generation of the target file. If the target file exists previously it is deleted.


Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
SkipGenerationTransform()
          Must have a default no-arg constructor.
 
Method Summary
 Writer getWriter(Writer out, Map args)
           
static boolean isSkipGenerationAndResetFlag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkipGenerationTransform

public SkipGenerationTransform()
Must have a default no-arg constructor.

Method Detail

isSkipGenerationAndResetFlag

public static boolean isSkipGenerationAndResetFlag()

getWriter

public Writer getWriter(Writer out,
                        Map args)
                 throws TemplateModelException
Specified by:
getWriter in interface TemplateTransformModel
Throws:
TemplateModelException


EnvGen available from www.basilv.com/psd/software Copyright © 2007 Basil Vandegriend. All Rights Reserved.