Spring Framework

org.springframework.web.servlet.tags
Class Param

java.lang.Object
  extended by org.springframework.web.servlet.tags.Param

public class Param
extends java.lang.Object

Bean used to pass name-value pair parameters from a ParamTag to a ParamAware tag.

Attributes are the raw values passed to the spring:param tag and have not been encoded or escaped.

Since:
3.0
Author:
Scott Andrews
See Also:
ParamTag

Constructor Summary
Param()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getValue()
           
 void setName(java.lang.String name)
          Set the raw name of the parameter
 void setValue(java.lang.String value)
          Set the raw value of the parameter
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Param

public Param()
Method Detail

getName

public java.lang.String getName()
Returns:
the raw parameter name

setName

public void setName(java.lang.String name)
Set the raw name of the parameter


getValue

public java.lang.String getValue()
Returns:
the raw parameter value

setValue

public void setValue(java.lang.String value)
Set the raw value of the parameter


toString

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

Spring Framework