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

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

public class ForAllImportedTypesTransform
extends FreemarkerTransform<ImportedTypeDeclarationLoopStrategy>

Evaluates its body for all imported types of a specified type declaration. By default, both classes and interfaces are included. This list will include the bounds of any formal type parameters. This list will NOT include annotations used by the specified type declaration.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
ForAllImportedTypesTransform(java.lang.String namespace)
          Construct a new transform under the specified namespace.
 
Method Summary
 ImportedTypeDeclarationLoopStrategy 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

ForAllImportedTypesTransform

public ForAllImportedTypesTransform(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 ImportedTypeDeclarationLoopStrategy newStrategy()
Description copied from class: FreemarkerTransform
Instantiate a new strategy instance.

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