public class Choose extends AbstractAction
| Constructor and Description |
|---|
Choose() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrim()
Returns whether to trim the result.
|
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to
ActionContext.getOut(). |
void |
setTrim(boolean trim)
Sets whether to trim the result.
|
String |
toString() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScopepublic boolean isTrim()
public void setTrim(boolean trim)
Default: true.
public void render(ActionContext ac, boolean nested) throws DspException, IOException
ActionActionContext.getOut().nested - whether there is any nested content.DspExceptionIOExceptionCopyright © 2021. All rights reserved.