org.apache.myfaces.test.mock
Class MockPortletResponse

java.lang.Object
  extended by org.apache.myfaces.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 990408 2010-08-28 18:59:21Z lu4242 $

Since:
1.0.0

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 © 2011 The Apache Software Foundation. All Rights Reserved.