|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.web.servlet.dsp.action.AbstractAction org.zkoss.web.servlet.dsp.action.Out
public class Out
Generates the specified value into a string.
Constructor Summary | |
---|---|
Out()
|
Method Summary | |
---|---|
boolean |
getEscapeXML()
Returns whether to escape XML. |
int |
getMaxlength()
Returns the maxlength of bytes to output. |
boolean |
getNbsp()
Returns whether to generate if the content is empty. |
java.lang.String |
getValue()
Returns the value. |
boolean |
isPre()
Returns whether to preserve the white spaces, such as space. |
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to ActionContext.getOut() . |
void |
setEscapeXML(boolean escapeXML)
Sets whether to escape XML. |
void |
setMaxlength(int maxlength)
Sets the maxlength to output. |
void |
setNbsp(boolean nbsp)
Sets whether to generate if the content is empty. |
void |
setPre(boolean pre)
Sets whether to preserve the white spaces, such as space. |
void |
setValue(java.lang.String value)
Sets the value. |
java.lang.String |
toString()
|
Methods inherited from class org.zkoss.web.servlet.dsp.action.AbstractAction |
---|
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Out()
Method Detail |
---|
public boolean getEscapeXML()
public void setEscapeXML(boolean escapeXML)
public boolean getNbsp()
public void setNbsp(boolean nbsp)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public int getMaxlength()
Default: 0 (no limit).
public void setMaxlength(int maxlength)
public void setPre(boolean pre)
public boolean isPre()
Default: false;
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |