Package org.zkoss.web.servlet.dsp.action
Class Remove
- java.lang.Object
-
- org.zkoss.web.servlet.dsp.action.AbstractAction
-
- org.zkoss.web.servlet.dsp.action.Remove
-
- All Implemented Interfaces:
Action
public class Remove extends AbstractAction
The remove action used to remove an attribute.- Author:
- tomyeh
-
-
Constructor Summary
Constructors Constructor Description Remove()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getScope()
Returns the scope.java.lang.String
getVar()
Returns the attribute name.void
render(ActionContext ac, boolean nested)
Processes the action and renders the output toActionContext.getOut()
.void
setScope(java.lang.String scope)
Sets the scope.void
setVar(java.lang.String var)
Sets the attribute name.java.lang.String
toString()
-
Methods inherited from class org.zkoss.web.servlet.dsp.action.AbstractAction
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope
-
-
-
-
Method Detail
-
getScope
public int getScope()
Returns the scope.
-
setScope
public void setScope(java.lang.String scope)
Sets the scope.
-
getVar
public java.lang.String getVar()
Returns the attribute name.
-
setVar
public void setVar(java.lang.String var)
Sets the attribute name.
-
render
public void render(ActionContext ac, boolean nested) throws DspException, java.io.IOException
Description copied from interface:Action
Processes the action and renders the output toActionContext.getOut()
.nested
- whether there is any nested content.- Throws:
DspException
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-