1 5 6 package org.exoplatform.test.mocks.portlet; 7 8 import javax.portlet.RenderResponse; 9 import javax.portlet.PortletURL; 10 import java.io.PrintWriter ; 11 import java.io.IOException ; 12 import java.io.OutputStream ; 13 import java.util.Locale ; 14 15 21 public class MockRenderResponse extends MockPortletResponse 22 implements RenderResponse{ 23 public String getContentType() { 24 return null; } 26 27 public PortletURL createRenderURL() { 28 return null; } 30 31 public PortletURL createActionURL() { 32 return null; } 34 35 public String getNamespace() { 36 return null; } 38 39 public void setTitle(String string) { 40 } 42 43 public void setContentType(String string) { 44 } 46 47 public String getCharacterEncoding() { 48 return null; } 50 51 public PrintWriter getWriter() throws IOException { 52 return null; } 54 55 public Locale getLocale() { 56 return null; } 58 59 public void setBufferSize(int i) { 60 } 62 63 public int getBufferSize() { 64 return 0; } 66 67 public void flushBuffer() throws IOException { 68 } 70 71 public void resetBuffer() { 72 } 74 75 public boolean isCommitted() { 76 return false; } 78 79 public void reset() { 80 } 82 83 public OutputStream getPortletOutputStream() throws IOException { 84 return null; } 86 } | Popular Tags |