org.springframework.web.servlet.tags

Class Param

  • java.lang.Object
    • 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

      Constructors 
      Constructor and Description
      Param() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getName()
      Return the raw parameter name.
      java.lang.String getValue()
      Return the raw parameter value.
      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

      • setName

        public void setName(@Nullable
                            java.lang.String name)
        Set the raw name of the parameter.
      • getName

        @Nullable
        public java.lang.String getName()
        Return the raw parameter name.
      • setValue

        public void setValue(@Nullable
                             java.lang.String value)
        Set the raw value of the parameter.
      • getValue

        @Nullable
        public java.lang.String getValue()
        Return the raw parameter value.
      • toString

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