Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
NullServletElement |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2004-2011 the Seasar Foundation and the Others. | |
3 | * | |
4 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | |
13 | * either express or implied. See the License for the specific language | |
14 | * governing permissions and limitations under the License. | |
15 | */ | |
16 | package org.seasar.teeda.core.mock; | |
17 | ||
18 | import org.seasar.teeda.core.config.webapp.element.InitParamElement; | |
19 | import org.seasar.teeda.core.config.webapp.element.ServletElement; | |
20 | ||
21 | /** | |
22 | * @author manhole | |
23 | */ | |
24 | 0 | public class NullServletElement implements ServletElement { |
25 | ||
26 | public String getLoadOnStartup() { | |
27 | 0 | return null; |
28 | } | |
29 | ||
30 | public String getServletClass() { | |
31 | 0 | return null; |
32 | } | |
33 | ||
34 | public String getServletName() { | |
35 | 0 | return null; |
36 | } | |
37 | ||
38 | public void setLoadOnStartup(final String loadOnStartup) { | |
39 | 0 | } |
40 | ||
41 | public void setServletClass(final String servletClass) { | |
42 | 0 | } |
43 | ||
44 | public void setServletName(final String servletName) { | |
45 | 0 | } |
46 | ||
47 | public void addInitParamElement(final InitParamElement initParam) { | |
48 | 0 | } |
49 | ||
50 | public InitParamElement getInitParamElementByParamName( | |
51 | final String paramName) { | |
52 | 0 | return null; |
53 | } | |
54 | ||
55 | } |