|
||||||||||
| 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<IfHasDeclarationStrategy>
net.sf.jelly.apt.tags.IfHasDeclarationTag
public class IfHasDeclarationTag
Evalute the body of the tag if the specified type has a declaration. If the specified type is an array type, the body will not be evaluated.
| 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 | |
|---|---|
IfHasDeclarationTag()
|
|
| Method Summary | |
|---|---|
void |
setDeclarationVar(java.lang.String declarationVar)
The variable to which to assign the declaration variable, if it exists. |
void |
setType(com.sun.mirror.type.TypeMirror type)
The type on which to check for a declaration. |
| 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 IfHasDeclarationTag()
| Method Detail |
|---|
public void setType(com.sun.mirror.type.TypeMirror type)
type - The type on which to check for a declaration.public void setDeclarationVar(java.lang.String declarationVar)
declarationVar - The variable to which to assign the declaration variable, if it exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||