public class ActionParametersWrapper extends PortletParametersWrapper implements ActionParameters
ActionParametersWrapper
provides a convenient
implementation of the ActionParameters
interface
that can be subclassed by developers.
This class implements the Wrapper or Decorator pattern.
Methods default to calling through to the wrapped request object.
wrapped
Constructor and Description |
---|
ActionParametersWrapper(ActionParameters wrapped) |
Modifier and Type | Method and Description |
---|---|
MutableActionParameters |
clone()
Returns a
MutablePortletParameters object encapsulating a copy of the same
parameters as the original object. |
ActionParameters |
getWrapped()
Gets the wrapped object.
|
void |
setWrapped(ActionParameters wrapped)
Sets the wrapped object.
|
getNames, getValue, getValues, isEmpty, setWrapped, size
public ActionParametersWrapper(ActionParameters wrapped)
wrapped
- the wrapped object to set.IllegalArgumentException
- if the ActionParameters is null.public ActionParameters getWrapped()
getWrapped
in class PortletParametersWrapper
public void setWrapped(ActionParameters wrapped)
wrapped
- the wrapped object to set.IllegalArgumentException
- if the ActionParameters is null.public MutableActionParameters clone()
PortletParameters
MutablePortletParameters
object encapsulating a copy of the same
parameters as the original object.
Changing a mutable copy will not influence the source object.
clone
in interface ActionParameters
clone
in interface PortletParameters
clone
in class PortletParametersWrapper
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.