View Javadoc

1   /*
2    * Copyright 2005 The Apache Software Foundation
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, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.apache.pluto.descriptors.servlet;
17  
18  import java.util.List;
19  
20  /***
21   * FilterMapping configuration as contained within the
22   * web.xml Deployment Descriptor.
23   * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
24   * @version $Id: FilterMappingDD.java 157475 2005-03-14 22:13:18Z ddewolf $
25   * @since Feb 28, 2005
26   */
27  public class FilterMappingDD {
28  
29      private String filterName;
30      private String servletName;
31      private List urlPattern;
32      private List dispatchers;
33  
34      public FilterMappingDD() {
35  
36      }
37  
38      public String getFilterName() {
39          return filterName;
40      }
41  
42      public void setFilterName(String filterName) {
43          this.filterName = filterName;
44      }
45  
46      public List getUrlPatterns() {
47          return urlPattern;
48      }
49  
50      public void setUrlPatterns(List urlPattern) {
51          this.urlPattern = urlPattern;
52      }
53  
54      public String getServletName() {
55          return servletName;
56      }
57  
58      public void setServletName(String servletName) {
59          this.servletName = servletName;
60      }
61  
62      public List getDispatchers() {
63          return dispatchers;
64      }
65  
66      public void setDispatchers(List dispatchers) {
67          this.dispatchers = dispatchers;
68      }
69  
70  }
71