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.
|
java.lang.String |
toString() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope
public boolean isTrim()
public void setTrim(boolean trim)
Default: true.
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.