All Implemented Interfaces:
Action

public class Set extends AbstractAction
The set action used to set an attribute.
Author:
tomyeh
  • Constructor Details

    • Set

      public Set()
  • Method Details

    • getScope

      public int getScope()
      Returns the scope.
    • setScope

      public void setScope(String scope)
      Sets the scope.
    • getVar

      public String getVar()
      Returns the attribute name.
    • setVar

      public void setVar(String var)
      Sets the attribute name.
    • getValue

      public Object getValue()
      Returns the attribute value.
    • setValue

      public void setValue(Object val)
      Sets the attribute value.
    • render

      public void render(ActionContext ac, boolean nested) throws DspException, 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
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object