public class When extends AbstractAction
Choose
action.Constructor and Description |
---|
When() |
Modifier and Type | Method and Description |
---|---|
boolean |
getTest()
Returns the test result.
|
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to
ActionContext.getOut() . |
void |
setTest(boolean cond)
Sets the test result.
|
java.lang.String |
toString() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope
public boolean getTest()
public void setTest(boolean cond)
public void render(ActionContext ac, boolean nested) throws DspException, java.io.IOException
Action
ActionContext.getOut()
.nested
- whether there is any nested content.DspException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.