| |
|
| java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.core.SwitchTag
SwitchTag | public class SwitchTag extends TagSupport (Code) | | Executes the child <case> tag whose value equals my on attribute.
Executes a child <default> tag when present and no <case> tag has
yet matched.
See Also: CaseTag See Also: DefaultTag author: Rodney Waldhoff version: $Revision: 155420 $ $Date: 2005-02-27 00:06:03 +1100 (Sun, 27 Feb 2005) $ |
SwitchTag | public SwitchTag()(Code) | | |
caseMatched | protected void caseMatched()(Code) | | |
defaultEncountered | protected void defaultEncountered()(Code) | | |
hasDefaultBeenEncountered | protected boolean hasDefaultBeenEncountered()(Code) | | |
hasSomeCaseMatched | protected boolean hasSomeCaseMatched()(Code) | | |
isFallingThru | protected boolean isFallingThru()(Code) | | |
setFallingThru | protected void setFallingThru(boolean fallingThru)(Code) | | |
setOn | public void setOn(Expression on)(Code) | | Sets the value to switch on.
Note that the
Expression is evaluated only once, when the
<switch> tag is evaluated.
Parameters: on - the value to switch on |
|
|
|