net.sf.jelly.apt.freemarker.transforms
Class ForAllTypesTransform

java.lang.Object
  extended by net.sf.jelly.apt.freemarker.FreemarkerTransform<TypeDeclarationLoopStrategy>
      extended by net.sf.jelly.apt.freemarker.transforms.ForAllTypesTransform
All Implemented Interfaces:
freemarker.template.TemplateModel, freemarker.template.TemplateTransformModel

public class ForAllTypesTransform
extends FreemarkerTransform<TypeDeclarationLoopStrategy>

Evaluates its body for each type declaration.

If the package is specified, only the top-level classes are returned.

Unless specified otherwise, ClassDeclarations will be included and InterfaceDeclarations will NOT be included.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
ForAllTypesTransform(java.lang.String namespace)
          Construct a new transform under the specified namespace.
 
Method Summary
 TypeDeclarationLoopStrategy newStrategy()
          Instantiate a new strategy instance.
 
Methods inherited from class net.sf.jelly.apt.freemarker.FreemarkerTransform
convertString, findSetter, getTransformName, getTransformNamespace, getWriter, setupStrategy, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForAllTypesTransform

public ForAllTypesTransform(java.lang.String namespace)
Construct a new transform under the specified namespace. null or "" means the root namespace.

Parameters:
namespace - The namespace.
Method Detail

newStrategy

public TypeDeclarationLoopStrategy newStrategy()
Description copied from class: FreemarkerTransform
Instantiate a new strategy instance.

Specified by:
newStrategy in class FreemarkerTransform<TypeDeclarationLoopStrategy>
Returns:
The strategy.