|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.CaseTag
public class CaseTag
A tag which conditionally evaluates its body if
my value
attribute equals my ancestor
<switch>
tag's
"on"
attribute.
This tag must be contained within the body of some
<switch>
tag.
SwitchTag
Field Summary | |
---|---|
private boolean |
fallThru
|
private Expression |
valueExpression
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
CaseTag()
|
Method Summary | |
---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
void |
setFallThru(boolean fallThru)
|
void |
setValue(Expression value)
|
Methods inherited from class org.apache.commons.jelly.TagSupport |
---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, 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 |
Field Detail |
---|
private Expression valueExpression
private boolean fallThru
Constructor Detail |
---|
public CaseTag()
Method Detail |
---|
public void setValue(Expression value)
public void setFallThru(boolean fallThru)
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tag
MissingAttributeException
JellyTagException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |