public class Out extends AbstractAction
Constructor and Description |
---|
Out() |
Modifier and Type | Method and Description |
---|---|
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() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope
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
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.