org.zkoss.web.servlet.dsp.action
Class Set

java.lang.Object
  extended by org.zkoss.web.servlet.dsp.action.AbstractAction
      extended by org.zkoss.web.servlet.dsp.action.Set
All Implemented Interfaces:
Action

public class Set
extends AbstractAction

The set action used to set an attribute.

Author:
tomyeh

Constructor Summary
Set()
           
 
Method Summary
 int getScope()
          Returns the scope.
 java.lang.Object getValue()
          Returns the attribute value.
 java.lang.String getVar()
          Returns the attribute name.
 void render(ActionContext ac, boolean nested)
          Processes the action and renders the output to ActionContext.getOut().
 void setScope(java.lang.String scope)
          Sets the scope.
 void setValue(java.lang.Object val)
          Sets the attribute value.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Set

public Set()
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.


getValue

public java.lang.Object getValue()
Returns the attribute value.


setValue

public void setValue(java.lang.Object val)
Sets the attribute value.


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 to ActionContext.getOut().

nested - whether there is any nested content.
Throws:
DspException
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo