net.sf.jelly.apt.tags
Class MemberDeclarationLoopTag<S extends MemberDeclarationLoopStrategy>

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<S>
                  extended by net.sf.jelly.apt.tags.MemberDeclarationLoopTag<S>
All Implemented Interfaces:
TemplateBlock, org.apache.commons.jelly.Tag
Direct Known Subclasses:
ExecutableDeclarationLoopTag, ForAllFieldsTag, ForAllPropertiesTag

public abstract class MemberDeclarationLoopTag<S extends MemberDeclarationLoopStrategy>
extends AnnotationFilterableDeclarationLoopTag<S>

Loop tag through a collection of MemberDeclarations of a type declaration. Options are available to include the superclasses and superinterfaces for the current type declaration. By default, the members of superclasses and superinterfaces will not be looped through.

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
protected MemberDeclarationLoopTag(S strategy)
           
 
Method Summary
 void setDeclaration(com.sun.mirror.declaration.TypeDeclaration declaration)
          The specified declaration.
 void setIncludeSuperclasses(boolean includeSuperclasses)
          Whether to include superclasses.
 void setIncludeSuperinterfaces(boolean includeSuperinterfaces)
          Whether to include superinterfaces.
 
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

MemberDeclarationLoopTag

protected MemberDeclarationLoopTag(S strategy)
Method Detail

setIncludeSuperclasses

public void setIncludeSuperclasses(boolean includeSuperclasses)
Whether to include superclasses.

Parameters:
includeSuperclasses - Whether to include superclasses.

setIncludeSuperinterfaces

public void setIncludeSuperinterfaces(boolean includeSuperinterfaces)
Whether to include superinterfaces.

Parameters:
includeSuperinterfaces - Whether to include superinterfaces.

setDeclaration

public void setDeclaration(com.sun.mirror.declaration.TypeDeclaration declaration)
The specified declaration.

Parameters:
declaration - The specified declaration.