KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2 * Copyright 2001-2004 The eXo platform SARL All rights reserved.
3 * Please look at license.txt in info directory for more license detail.
4 */

5
6 package org.exoplatform.test.mocks.portlet;
7
8 import javax.portlet.RenderResponse;
9 import javax.portlet.PortletURL;
10 import java.io.PrintWriter JavaDoc;
11 import java.io.IOException JavaDoc;
12 import java.io.OutputStream JavaDoc;
13 import java.util.Locale JavaDoc;
14
15 /**
16  * @author Mestrallet Benjamin
17  * benjmestrallet@users.sourceforge.net
18  * Date: 10 feb. 2004
19  * Time: 19:58:17
20  */

21 public class MockRenderResponse extends MockPortletResponse
22     implements RenderResponse{
23   public String JavaDoc getContentType() {
24     return null; //To change body of implemented methods use File | Settings | File Templates.
25
}
26
27   public PortletURL createRenderURL() {
28     return null; //To change body of implemented methods use File | Settings | File Templates.
29
}
30
31   public PortletURL createActionURL() {
32     return null; //To change body of implemented methods use File | Settings | File Templates.
33
}
34
35   public String JavaDoc getNamespace() {
36     return null; //To change body of implemented methods use File | Settings | File Templates.
37
}
38
39   public void setTitle(String JavaDoc string) {
40     //To change body of implemented methods use File | Settings | File Templates.
41
}
42
43   public void setContentType(String JavaDoc string) {
44     //To change body of implemented methods use File | Settings | File Templates.
45
}
46
47   public String JavaDoc getCharacterEncoding() {
48     return null; //To change body of implemented methods use File | Settings | File Templates.
49
}
50
51   public PrintWriter JavaDoc getWriter() throws IOException JavaDoc {
52     return null; //To change body of implemented methods use File | Settings | File Templates.
53
}
54
55   public Locale JavaDoc getLocale() {
56     return null; //To change body of implemented methods use File | Settings | File Templates.
57
}
58
59   public void setBufferSize(int i) {
60     //To change body of implemented methods use File | Settings | File Templates.
61
}
62
63   public int getBufferSize() {
64     return 0; //To change body of implemented methods use File | Settings | File Templates.
65
}
66
67   public void flushBuffer() throws IOException JavaDoc {
68     //To change body of implemented methods use File | Settings | File Templates.
69
}
70
71   public void resetBuffer() {
72     //To change body of implemented methods use File | Settings | File Templates.
73
}
74
75   public boolean isCommitted() {
76     return false; //To change body of implemented methods use File | Settings | File Templates.
77
}
78
79   public void reset() {
80     //To change body of implemented methods use File | Settings | File Templates.
81
}
82
83   public OutputStream JavaDoc getPortletOutputStream() throws IOException JavaDoc {
84     return null; //To change body of implemented methods use File | Settings | File Templates.
85
}
86 }
Popular Tags