net.sf.jelly.apt.tags
Class ForAllTypesTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jelly.apt.APTJellyTag<S>
          extended by net.sf.jelly.apt.tags.DeclarationLoopTag<S>
              extended by net.sf.jelly.apt.tags.AnnotationFilterableDeclarationLoopTag<TypeDeclarationLoopStrategy>
                  extended by net.sf.jelly.apt.tags.ForAllTypesTag
All Implemented Interfaces:
TemplateBlock, org.apache.commons.jelly.Tag
Direct Known Subclasses:
ForAllImportedTypesTag, ForAllNestedTypesTag

public class ForAllTypesTag
extends AnnotationFilterableDeclarationLoopTag<TypeDeclarationLoopStrategy>

Evaluates its body for each type declaration.

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

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.APTJellyTag
strategy
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
  ForAllTypesTag()
           
protected ForAllTypesTag(TypeDeclarationLoopStrategy strategy)
           
 
Method Summary
 void setIncludeClasses(boolean includeClasses)
          Whether to include classes in the collection of types over which to iterate.
 void setIncludeInterfaces(boolean includeInterfaces)
          Whether to include interfaces in the collection of types over which to iterate.
 void setPackage(com.sun.mirror.declaration.PackageDeclaration pckg)
          The package declaration containing the types.
 
Methods inherited from class net.sf.jelly.apt.tags.AnnotationFilterableDeclarationLoopTag
setAnnotation, setAnnotationVar, setExcludes
 
Methods inherited from class net.sf.jelly.apt.tags.DeclarationLoopTag
setIndexVar, setVar
 
Methods inherited from class net.sf.jelly.apt.APTJellyTag
doTag, getContext, getStrategy
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForAllTypesTag

public ForAllTypesTag()

ForAllTypesTag

protected ForAllTypesTag(TypeDeclarationLoopStrategy strategy)
Method Detail

setIncludeInterfaces

public void setIncludeInterfaces(boolean includeInterfaces)
Whether to include interfaces in the collection of types over which to iterate.

Parameters:
includeInterfaces - Whether to include interfaces in the collection of types over which to iterate.

setIncludeClasses

public void setIncludeClasses(boolean includeClasses)
Whether to include classes in the collection of types over which to iterate.

Parameters:
includeClasses - Whether to include classes in the collection of types over which to iterate.

setPackage

public void setPackage(com.sun.mirror.declaration.PackageDeclaration pckg)
The package declaration containing the types.

Parameters:
pckg - The package declaration containing the types.