|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
net.sf.jelly.apt.APTJellyTag<IfHasAnnotationStrategy>
net.sf.jelly.apt.tags.IfHasAnnotationTag
public class IfHasAnnotationTag
Evalute the body of the tag if the current declaration (in a loop) has a given annotation.
| 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 | |
|---|---|
IfHasAnnotationTag()
|
|
| Method Summary | |
|---|---|
void |
setAnnotation(java.lang.String annotation)
The annotation to check for. |
void |
setDeclaration(com.sun.mirror.declaration.Declaration declaration)
The declaration on which to evaluate whether exists the annotation. |
void |
setVar(java.lang.String var)
The name of the variable to which to assign the annotation. |
| 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 |
|---|
public IfHasAnnotationTag()
| Method Detail |
|---|
public void setAnnotation(java.lang.String annotation)
annotation - The annotation to check for.public void setVar(java.lang.String var)
var - The name of the variable to which to assign the annotation.public void setDeclaration(com.sun.mirror.declaration.Declaration declaration)
declaration - The declaration on which to evaluate whether exists the annotation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||