001 //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/ogcwebservices/wps/describeprocess/SupportedComplexData.java $
002 /*----------------------------------------------------------------------------
003 This file is part of deegree, http://deegree.org/
004 Copyright (C) 2001-2009 by:
005 Department of Geography, University of Bonn
006 and
007 lat/lon GmbH
008
009 This library is free software; you can redistribute it and/or modify it under
010 the terms of the GNU Lesser General Public License as published by the Free
011 Software Foundation; either version 2.1 of the License, or (at your option)
012 any later version.
013 This library is distributed in the hope that it will be useful, but WITHOUT
014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
015 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
016 details.
017 You should have received a copy of the GNU Lesser General Public License
018 along with this library; if not, write to the Free Software Foundation, Inc.,
019 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020
021 Contact information:
022
023 lat/lon GmbH
024 Aennchenstr. 19, 53177 Bonn
025 Germany
026 http://lat-lon.de/
027
028 Department of Geography, University of Bonn
029 Prof. Dr. Klaus Greve
030 Postfach 1147, 53001 Bonn
031 Germany
032 http://www.geographie.uni-bonn.de/deegree/
033
034 e-mail: info@deegree.org
035 ----------------------------------------------------------------------------*/
036
037 package org.deegree.ogcwebservices.wps.describeprocess;
038
039 /**
040 * SupportedComplexData.java
041 *
042 * Created on 09.03.2006. 22:27:42h
043 *
044 * A combination of format, encoding, and/or schema supported by a process input or output.
045 *
046 * @author <a href="mailto:christian@kiehle.org">Christian Kiehle</a>
047 * @author <a href="mailto:christian.heier@gmx.de">Christian Heier</a>
048 * @author last edited by: $Author:wanhoff$
049 *
050 * @version $Revision: 18195 $, $Date:20.03.2007$
051 */
052 public class SupportedComplexData {
053
054 /**
055 * @param encoding
056 * @param format
057 * @param schema
058 */
059 public SupportedComplexData( String encoding, String format, String schema ) {
060 this.encoding = encoding;
061 this.format = format;
062 this.schema = schema;
063 }
064
065 /**
066 * Format supported for this input or output (e.g., text/XML). This element shall be included
067 * when the format for this ComplexDataType differs from the defaultFormat for this
068 * Input/Output. This element shall not be included if there is only one (i.e., the default)
069 * format supported for this Input/Output, or Format does not apply to this Input/Output.
070 */
071 protected String format;
072
073 /**
074 * Reference to an encoding supported for this input or output (e.g., UTF-8). This element shall
075 * be included when the encoding for this ComplexDataType differs from the defaultEncoding for
076 * this Input/Output. This element shall not be included if there is only one (i.e., the
077 * default) encoding supported for this Input/Output, or Encoding does not apply to this
078 * Input/Output.
079 *
080 */
081 protected String encoding;
082
083 /**
084 * Reference to a definition of XML elements or types supported for this Input or Output (e.g.,
085 * GML 2.1 Application Schema). Each of these XML elements or types shall be defined in a
086 * separate XML Schema Document. This element shall be included when the schema for this
087 * ComplexDataType differs from the defaultSchema for this Input/Output. This element shall not
088 * be included if there is only one (i.e., the default) XML Schema Document supported for this
089 * Input/Output, or Schema does not apply to this Input/Output.
090 *
091 */
092 protected String schema;
093
094 /**
095 * @return Returns the format.
096 */
097 public String getFormat() {
098 return format;
099 }
100
101 /**
102 * @param value
103 * The format to set.
104 */
105 public void setFormat( String value ) {
106 this.format = value;
107 }
108
109 /**
110 * @return Returns the encoding.
111 */
112 public String getEncoding() {
113 return encoding;
114 }
115
116 /**
117 * @param value
118 * The encoding to set.
119 */
120 public void setEncoding( String value ) {
121 this.encoding = value;
122 }
123
124 /**
125 * @return Returns the schema.
126 */
127 public String getSchema() {
128 return schema;
129 }
130
131 /**
132 * @param value
133 * The schema to set.
134 */
135 public void setSchema( String value ) {
136 this.schema = value;
137 }
138
139 }