org.springframework.mock.web.portlet
Class MockResourceURL

java.lang.Object
  extended by org.springframework.mock.web.portlet.MockBaseURL
      extended by org.springframework.mock.web.portlet.MockResourceURL
All Implemented Interfaces:
javax.portlet.BaseURL, javax.portlet.ResourceURL

public class MockResourceURL
extends MockBaseURL
implements javax.portlet.ResourceURL

Mock implementation of the ResourceURL interface.

Since:
3.0
Author:
Juergen Hoeller

Field Summary
 
Fields inherited from class org.springframework.mock.web.portlet.MockBaseURL
parameters, URL_TYPE_ACTION, URL_TYPE_RENDER
 
Fields inherited from interface javax.portlet.ResourceURL
FULL, PAGE, PORTLET, SHARED
 
Constructor Summary
MockResourceURL()
           
 
Method Summary
 String getCacheability()
           
 String getResourceID()
           
 void setCacheability(String cacheLevel)
           
 void setResourceID(String resourceID)
           
 String toString()
           
 
Methods inherited from class org.springframework.mock.web.portlet.MockBaseURL
addProperty, encodeParameter, encodeParameter, getParameter, getParameterMap, getParameterNames, getParameterValues, getProperties, isSecure, setParameter, setParameter, setParameters, setProperty, setSecure, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.portlet.BaseURL
addProperty, getParameterMap, setParameter, setParameter, setParameters, setProperty, setSecure, write, write
 

Constructor Detail

MockResourceURL

public MockResourceURL()
Method Detail

setResourceID

public void setResourceID(String resourceID)
Specified by:
setResourceID in interface javax.portlet.ResourceURL

getResourceID

public String getResourceID()

setCacheability

public void setCacheability(String cacheLevel)
Specified by:
setCacheability in interface javax.portlet.ResourceURL

getCacheability

public String getCacheability()
Specified by:
getCacheability in interface javax.portlet.ResourceURL

toString

public String toString()
Specified by:
toString in interface javax.portlet.BaseURL
Overrides:
toString in class Object