org.apache.shale.test.mock
Class MockPortletResponse

java.lang.Object
  extended by org.apache.shale.test.mock.MockPortletResponse
All Implemented Interfaces:
javax.portlet.PortletResponse

public class MockPortletResponse
extends Object
implements javax.portlet.PortletResponse

Mock implementation of PortletResponse.

$Id: MockPortletResponse.java 516091 2007-03-08 16:25:17Z greddin $


Constructor Summary
MockPortletResponse()
          Return a default instance.
 
Method Summary
 void addProperty(String name, String value)
          
 String encodeURL(String url)
          
 void setProperty(String name, String value)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockPortletResponse

public MockPortletResponse()

Return a default instance.

Method Detail

addProperty

public void addProperty(String name,
                        String value)

Specified by:
addProperty in interface javax.portlet.PortletResponse

encodeURL

public String encodeURL(String url)

Specified by:
encodeURL in interface javax.portlet.PortletResponse

setProperty

public void setProperty(String name,
                        String value)

Specified by:
setProperty in interface javax.portlet.PortletResponse


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.