1   package org.portletbridge.mock;
2   
3   import java.net.URI;
4   
5   import javax.portlet.RenderRequest;
6   import javax.portlet.RenderResponse;
7   
8   import org.portletbridge.portlet.BridgeFunctions;
9   import org.portletbridge.portlet.PerPortletMemento;
10  import org.portletbridge.portlet.PortletBridgeMemento;
11  
12  public class MockBridgeFunctions extends BridgeFunctions {
13  
14      public MockBridgeFunctions() {
15          super(null, null, null, null, null,
16                  null, null, null, null);
17      }
18  
19      public URI getCurrentUrl() {
20          return null;
21      }
22      
23      public PortletBridgeMemento getMemento() {
24          return null;
25      }
26      
27      public PerPortletMemento getPerPortletMemento() {
28          return null;
29      }
30      
31      public RenderRequest getRequest() {
32          return null;
33      }
34      
35      public RenderResponse getResponse() {
36          return null;
37      }
38      
39      public String getServletName() {
40          return null;
41      }
42      
43      public String link(String baseUrl, String link) {
44          return link;
45      }
46      
47      public String script(String baseUrl, String script) {
48          return script;
49      }
50      
51      public void setTitle(String title) {
52      }
53      
54      public String style(String baseUrl, String css) {
55          return css;
56      }
57  
58  }