Class Overview
Mock implementation of the javax.portlet.PortletURL interface.
Summary
Public Constructors |
|
MockPortletURL(PortalContext portalContext, String urlType)
Create a new MockPortletURL for the given URL type.
|
[Expand]
Inherited Methods |
From class
org.springframework.mock.web.portlet.MockBaseURL
void
|
addProperty(String key, String value)
|
String
|
encodeParameter(String name, String[] values)
|
String
|
encodeParameter(String name, String value)
|
String
|
getParameter(String name)
|
Map<String, String[]>
|
getParameterMap()
|
Set<String>
|
getParameterNames()
|
String[]
|
getParameterValues(String name)
|
Map<String, String[]>
|
getProperties()
|
boolean
|
isSecure()
|
void
|
setParameter(String key, String value)
|
void
|
setParameter(String key, String[] values)
|
void
|
setParameters(Map<String, String[]> parameters)
|
void
|
setProperty(String key, String value)
|
void
|
setSecure(boolean secure)
|
void
|
write(Writer out, boolean escapeXML)
|
void
|
write(Writer out)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
String
URL_TYPE_ACTION
public
static
final
String
URL_TYPE_RENDER
Public Constructors
public
MockPortletURL
(PortalContext portalContext, String urlType)
Create a new MockPortletURL for the given URL type.
Parameters
portalContext
| the PortalContext defining the supported
PortletModes and WindowStates |
urlType
| the URL type, for example "render" or "action" |
Public Methods
public
PortletMode
getPortletMode
()
public
WindowState
getWindowState
()
public
void
removePublicRenderParameter
(String name)
public
void
setPortletMode
(PortletMode portletMode)
public
void
setWindowState
(WindowState windowState)