KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > test > mocks > portlet > MockPortletResponse


1 /**
2
3  * Copyright 2001-2003 The eXo Platform SARL All rights reserved.
4
5  * Please look at license.txt in info directory for more license detail.
6
7  **/

8
9 package org.exoplatform.test.mocks.portlet;
10
11
12
13 import javax.portlet.PortletResponse;
14
15
16
17 /**
18
19  * Created by The eXo Platform SARL
20
21  * Author : Tuan Nguyen
22
23  * tuan08@users.sourceforge.net
24
25  * Date: Jul 27, 2003
26
27  * Time: 2:13:09 AM
28
29  */

30
31 public class MockPortletResponse implements PortletResponse {
32
33   public void addProperty(String JavaDoc key, String JavaDoc value) {
34
35   }
36
37
38
39   public void setProperty(String JavaDoc key, String JavaDoc value) {
40
41   }
42
43
44
45   public String JavaDoc encodeURL (String JavaDoc path) {
46
47     return path ;
48
49   }
50
51 }
52
53
Popular Tags