KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > servlet > MockFilterConfig


1 package com.mockobjects.servlet;
2
3 import com.mockobjects.*;
4 import java.util.*;
5 import javax.servlet.*;
6
7 public class MockFilterConfig extends MockObject implements FilterConfig {
8     private ServletContext servletContext;
9
10     public String JavaDoc getFilterName(){
11         return null;
12     }
13
14     public void setupGetServletContext(ServletContext servletContext){
15         this.servletContext = servletContext;
16     }
17
18     public ServletContext getServletContext(){
19         return servletContext;
20     }
21
22     public String JavaDoc getInitParameter(String JavaDoc name){
23         return null;
24     }
25
26     public Enumeration getInitParameterNames(){
27         return null;
28     }
29
30 }
31
32
Popular Tags