01: /* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.container.om.servlet;
07:
08: import java.io.Serializable;
09:
10: /**
11: * Data structure for each <servlet-mapping> element
12: * in the portlet web.xml file. Used in ServletDefinitionImpl.
13: * Pluto's ServletMappingImpl had an id field, which didn't
14: * appear to be used anywhere.
15: * @author Ken Weiner, kweiner@unicon.net
16: * @version $Revision: 34757 $
17: */
18: public class MimeMappingImpl implements Serializable {
19:
20: private String extension;
21: private String mimeType;
22:
23: public String getExtension() {
24: return extension;
25: }
26:
27: public String getMimeType() {
28: return mimeType;
29: }
30:
31: public void setExtension(String extension) {
32: this .extension = extension;
33: }
34:
35: public void setMimeType(String mimeType) {
36: this.mimeType = mimeType;
37: }
38:
39: }
|