01: /******************************************************************************
02: * JBoss, a division of Red Hat *
03: * Copyright 2006, Red Hat Middleware, LLC, and individual *
04: * contributors as indicated by the @authors tag. See the *
05: * copyright.txt in the distribution for a full listing of *
06: * individual contributors. *
07: * *
08: * This is free software; you can redistribute it and/or modify it *
09: * under the terms of the GNU Lesser General Public License as *
10: * published by the Free Software Foundation; either version 2.1 of *
11: * the License, or (at your option) any later version. *
12: * *
13: * This software is distributed in the hope that it will be useful, *
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16: * Lesser General Public License for more details. *
17: * *
18: * You should have received a copy of the GNU Lesser General Public *
19: * License along with this software; if not, write to the Free *
20: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
21: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
22: ******************************************************************************/package org.jboss.portal.wsrp.core;
23:
24: import java.io.Serializable;
25:
26: public class MarkupType implements Serializable {
27: protected java.lang.String mimeType;
28: protected java.lang.String[] modes;
29: protected java.lang.String[] windowStates;
30: protected java.lang.String[] locales;
31: protected org.jboss.portal.wsrp.core.Extension[] extensions;
32:
33: public MarkupType() {
34: }
35:
36: public MarkupType(java.lang.String mimeType,
37: java.lang.String[] modes, java.lang.String[] windowStates,
38: java.lang.String[] locales,
39: org.jboss.portal.wsrp.core.Extension[] extensions) {
40: this .mimeType = mimeType;
41: this .modes = modes;
42: this .windowStates = windowStates;
43: this .locales = locales;
44: this .extensions = extensions;
45: }
46:
47: public java.lang.String getMimeType() {
48: return mimeType;
49: }
50:
51: public void setMimeType(java.lang.String mimeType) {
52: this .mimeType = mimeType;
53: }
54:
55: public java.lang.String[] getModes() {
56: return modes;
57: }
58:
59: public void setModes(java.lang.String[] modes) {
60: this .modes = modes;
61: }
62:
63: public java.lang.String[] getWindowStates() {
64: return windowStates;
65: }
66:
67: public void setWindowStates(java.lang.String[] windowStates) {
68: this .windowStates = windowStates;
69: }
70:
71: public java.lang.String[] getLocales() {
72: return locales;
73: }
74:
75: public void setLocales(java.lang.String[] locales) {
76: this .locales = locales;
77: }
78:
79: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
80: return extensions;
81: }
82:
83: public void setExtensions(
84: org.jboss.portal.wsrp.core.Extension[] extensions) {
85: this.extensions = extensions;
86: }
87: }
|