Package org.opencms.jsp
Class CmsJspTagAddParams.ParamState
- java.lang.Object
-
- org.opencms.jsp.CmsJspTagAddParams.ParamState
-
- Enclosing class:
- CmsJspTagAddParams
public static class CmsJspTagAddParams.ParamState extends java.lang.Object
Keeps track of the runtime state of a single execution of this tag.
-
-
Constructor Summary
Constructors Constructor Description ParamState(CmsFlexRequest request)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(java.lang.String key, java.lang.String value)
Adds a request parameter.void
init()
Initializes the tag state and sets a new parameter map on the request for which it was instantiated.void
undoChanges()
Restores the original set of parameters.
-
-
-
Constructor Detail
-
ParamState
public ParamState(CmsFlexRequest request)
Creates a new instance.- Parameters:
request
- the current request
-
-
Method Detail
-
addParameter
public void addParameter(java.lang.String key, java.lang.String value)
Adds a request parameter.- Parameters:
key
- the parameter namevalue
- the parameter value
-
init
public void init()
Initializes the tag state and sets a new parameter map on the request for which it was instantiated.
-
undoChanges
public void undoChanges()
Restores the original set of parameters.
-
-