001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.wsrp.core;
023:
024: import java.io.Serializable;
025:
026: public class MarkupParams implements Serializable {
027: protected boolean secureClientCommunication;
028: protected java.lang.String[] locales;
029: protected java.lang.String[] mimeTypes;
030: protected java.lang.String mode;
031: protected java.lang.String windowState;
032: protected org.jboss.portal.wsrp.core.ClientData clientData;
033: protected java.lang.String navigationalState;
034: protected java.lang.String[] markupCharacterSets;
035: protected java.lang.String validateTag;
036: protected java.lang.String[] validNewModes;
037: protected java.lang.String[] validNewWindowStates;
038: protected org.jboss.portal.wsrp.core.Extension[] extensions;
039:
040: public MarkupParams() {
041: }
042:
043: public MarkupParams(boolean secureClientCommunication,
044: java.lang.String[] locales, java.lang.String[] mimeTypes,
045: java.lang.String mode, java.lang.String windowState,
046: org.jboss.portal.wsrp.core.ClientData clientData,
047: java.lang.String navigationalState,
048: java.lang.String[] markupCharacterSets,
049: java.lang.String validateTag,
050: java.lang.String[] validNewModes,
051: java.lang.String[] validNewWindowStates,
052: org.jboss.portal.wsrp.core.Extension[] extensions) {
053: this .secureClientCommunication = secureClientCommunication;
054: this .locales = locales;
055: this .mimeTypes = mimeTypes;
056: this .mode = mode;
057: this .windowState = windowState;
058: this .clientData = clientData;
059: this .navigationalState = navigationalState;
060: this .markupCharacterSets = markupCharacterSets;
061: this .validateTag = validateTag;
062: this .validNewModes = validNewModes;
063: this .validNewWindowStates = validNewWindowStates;
064: this .extensions = extensions;
065: }
066:
067: public boolean isSecureClientCommunication() {
068: return secureClientCommunication;
069: }
070:
071: public void setSecureClientCommunication(
072: boolean secureClientCommunication) {
073: this .secureClientCommunication = secureClientCommunication;
074: }
075:
076: public java.lang.String[] getLocales() {
077: return locales;
078: }
079:
080: public void setLocales(java.lang.String[] locales) {
081: this .locales = locales;
082: }
083:
084: public java.lang.String[] getMimeTypes() {
085: return mimeTypes;
086: }
087:
088: public void setMimeTypes(java.lang.String[] mimeTypes) {
089: this .mimeTypes = mimeTypes;
090: }
091:
092: public java.lang.String getMode() {
093: return mode;
094: }
095:
096: public void setMode(java.lang.String mode) {
097: this .mode = mode;
098: }
099:
100: public java.lang.String getWindowState() {
101: return windowState;
102: }
103:
104: public void setWindowState(java.lang.String windowState) {
105: this .windowState = windowState;
106: }
107:
108: public org.jboss.portal.wsrp.core.ClientData getClientData() {
109: return clientData;
110: }
111:
112: public void setClientData(
113: org.jboss.portal.wsrp.core.ClientData clientData) {
114: this .clientData = clientData;
115: }
116:
117: public java.lang.String getNavigationalState() {
118: return navigationalState;
119: }
120:
121: public void setNavigationalState(java.lang.String navigationalState) {
122: this .navigationalState = navigationalState;
123: }
124:
125: public java.lang.String[] getMarkupCharacterSets() {
126: return markupCharacterSets;
127: }
128:
129: public void setMarkupCharacterSets(
130: java.lang.String[] markupCharacterSets) {
131: this .markupCharacterSets = markupCharacterSets;
132: }
133:
134: public java.lang.String getValidateTag() {
135: return validateTag;
136: }
137:
138: public void setValidateTag(java.lang.String validateTag) {
139: this .validateTag = validateTag;
140: }
141:
142: public java.lang.String[] getValidNewModes() {
143: return validNewModes;
144: }
145:
146: public void setValidNewModes(java.lang.String[] validNewModes) {
147: this .validNewModes = validNewModes;
148: }
149:
150: public java.lang.String[] getValidNewWindowStates() {
151: return validNewWindowStates;
152: }
153:
154: public void setValidNewWindowStates(
155: java.lang.String[] validNewWindowStates) {
156: this .validNewWindowStates = validNewWindowStates;
157: }
158:
159: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
160: return extensions;
161: }
162:
163: public void setExtensions(
164: org.jboss.portal.wsrp.core.Extension[] extensions) {
165: this.extensions = extensions;
166: }
167: }
|