gvsig-catalog / trunk / appCatalog / src / org / gvsig / catalog / csw / drivers / CSWCapabilities.java @ 6
History | View | Annotate | Download (5.41 KB)
1 |
package org.gvsig.catalog.csw.drivers; |
---|---|
2 |
|
3 |
import java.net.URL; |
4 |
|
5 |
import org.gvsig.catalog.csw.parsers.CSWSupportedProtocolOperations; |
6 |
import org.gvsig.catalog.drivers.CatalogCapabilities; |
7 |
|
8 |
|
9 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
10 |
*
|
11 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
12 |
*
|
13 |
* This program is free software; you can redistribute it and/or
|
14 |
* modify it under the terms of the GNU General Public License
|
15 |
* as published by the Free Software Foundation; either version 2
|
16 |
* of the License, or (at your option) any later version.
|
17 |
*
|
18 |
* This program is distributed in the hope that it will be useful,
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21 |
* GNU General Public License for more details.
|
22 |
*
|
23 |
* You should have received a copy of the GNU General Public License
|
24 |
* along with this program; if not, write to the Free Software
|
25 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
26 |
*
|
27 |
* For more information, contact:
|
28 |
*
|
29 |
* Generalitat Valenciana
|
30 |
* Conselleria d'Infraestructures i Transport
|
31 |
* Av. Blasco Ib??ez, 50
|
32 |
* 46010 VALENCIA
|
33 |
* SPAIN
|
34 |
*
|
35 |
* +34 963862235
|
36 |
* gvsig@gva.es
|
37 |
* www.gvsig.gva.es
|
38 |
*
|
39 |
* or
|
40 |
*
|
41 |
* IVER T.I. S.A
|
42 |
* Salamanca 50
|
43 |
* 46005 Valencia
|
44 |
* Spain
|
45 |
*
|
46 |
* +34 963163400
|
47 |
* dac@iver.es
|
48 |
*/
|
49 |
/* CVS MESSAGES:
|
50 |
*
|
51 |
* $Id$
|
52 |
* $Log$
|
53 |
*
|
54 |
*/
|
55 |
/**
|
56 |
* @author Jorge Piera LLodr? (jorge.piera@iver.es)
|
57 |
*/
|
58 |
public class CSWCapabilities extends CatalogCapabilities { |
59 |
private CSWSupportedProtocolOperations operations = null; |
60 |
private String responseHandler = null; |
61 |
private String hopCount = null; |
62 |
private String distributedSearch = null; |
63 |
private String constraint = null; |
64 |
private String[] CONSTRAINTLANGUAGE = null; |
65 |
private String[] elementSetName = null; |
66 |
private String[] typeNames = null; |
67 |
private String[] resultType = null; |
68 |
private String[] NAMESPACE = null; |
69 |
private String[] outputFormat = null; |
70 |
private String[] outputSchema = null; |
71 |
private CSWException exception = null; |
72 |
|
73 |
/**
|
74 |
* @return the exception
|
75 |
*/
|
76 |
public CSWException getException() {
|
77 |
return exception;
|
78 |
} |
79 |
|
80 |
/**
|
81 |
* @param exception the exception to set
|
82 |
*/
|
83 |
public void setException(CSWException exception) { |
84 |
this.exception = exception;
|
85 |
} |
86 |
|
87 |
/**
|
88 |
* @return the outputSchema
|
89 |
*/
|
90 |
public String[] getOutputSchema() { |
91 |
return outputSchema;
|
92 |
} |
93 |
|
94 |
/**
|
95 |
* @param outputSchema the outputSchema to set
|
96 |
*/
|
97 |
public void setOutputSchema(String[] outputSchema) { |
98 |
this.outputSchema = outputSchema;
|
99 |
} |
100 |
|
101 |
/**
|
102 |
* @return the operations
|
103 |
*/
|
104 |
public CSWSupportedProtocolOperations getOperations() {
|
105 |
return operations;
|
106 |
} |
107 |
|
108 |
/**
|
109 |
* @param operations the operations to set
|
110 |
*/
|
111 |
public void setOperations(CSWSupportedProtocolOperations operations) { |
112 |
this.operations = operations;
|
113 |
} |
114 |
|
115 |
/**
|
116 |
* @return the outputFormat
|
117 |
*/
|
118 |
public String[] getOutputFormat() { |
119 |
return outputFormat;
|
120 |
} |
121 |
|
122 |
/**
|
123 |
* @param outputFormat the outputFormat to set
|
124 |
*/
|
125 |
public void setOutputFormat(String[] outputFormat) { |
126 |
this.outputFormat = outputFormat;
|
127 |
} |
128 |
|
129 |
public CSWCapabilities(URL url) { |
130 |
super();
|
131 |
operations = new CSWSupportedProtocolOperations(url);
|
132 |
} |
133 |
|
134 |
/**
|
135 |
* @return the responseHandler
|
136 |
*/
|
137 |
public String getResponseHandler() { |
138 |
return responseHandler;
|
139 |
} |
140 |
|
141 |
/**
|
142 |
* @param responseHandler the responseHandler to set
|
143 |
*/
|
144 |
public void setResponseHandler(String responseHandler) { |
145 |
this.responseHandler = responseHandler;
|
146 |
} |
147 |
|
148 |
/**
|
149 |
* @return the hopCount
|
150 |
*/
|
151 |
public String getHopCount() { |
152 |
return hopCount;
|
153 |
} |
154 |
|
155 |
/**
|
156 |
* @param hopCount the hopCount to set
|
157 |
*/
|
158 |
public void setHopCount(String hopCount) { |
159 |
this.hopCount = hopCount;
|
160 |
} |
161 |
|
162 |
/**
|
163 |
* @return the distributedSearch
|
164 |
*/
|
165 |
public String getDistributedSearch() { |
166 |
return distributedSearch;
|
167 |
} |
168 |
|
169 |
/**
|
170 |
* @param distributedSearch the distributedSearch to set
|
171 |
*/
|
172 |
public void setDistributedSearch(String distributedSearch) { |
173 |
this.distributedSearch = distributedSearch;
|
174 |
} |
175 |
|
176 |
/**
|
177 |
* @return the constraint
|
178 |
*/
|
179 |
public String getConstraint() { |
180 |
return constraint;
|
181 |
} |
182 |
|
183 |
/**
|
184 |
* @param constraint the constraint to set
|
185 |
*/
|
186 |
public void setConstraint(String constraint) { |
187 |
this.constraint = constraint;
|
188 |
} |
189 |
|
190 |
/**
|
191 |
* @return the cONSTRAINTLANGUAGE
|
192 |
*/
|
193 |
public String[] getCONSTRAINTLANGUAGE() { |
194 |
return CONSTRAINTLANGUAGE;
|
195 |
} |
196 |
|
197 |
/**
|
198 |
* @param constraintlanguage the cONSTRAINTLANGUAGE to set
|
199 |
*/
|
200 |
public void setCONSTRAINTLANGUAGE(String[] constraintlanguage) { |
201 |
CONSTRAINTLANGUAGE = constraintlanguage; |
202 |
} |
203 |
|
204 |
/**
|
205 |
* @return the elementSetName
|
206 |
*/
|
207 |
public String[] getElementSetName() { |
208 |
return elementSetName;
|
209 |
} |
210 |
|
211 |
/**
|
212 |
* @param elementSetName the elementSetName to set
|
213 |
*/
|
214 |
public void setElementSetName(String[] elementSetName) { |
215 |
this.elementSetName = elementSetName;
|
216 |
} |
217 |
|
218 |
/**
|
219 |
* @return the typeNames
|
220 |
*/
|
221 |
public String[] getTypeNames() { |
222 |
return typeNames;
|
223 |
} |
224 |
|
225 |
/**
|
226 |
* @param typeNames the typeNames to set
|
227 |
*/
|
228 |
public void setTypeNames(String[] typeNames) { |
229 |
this.typeNames = typeNames;
|
230 |
} |
231 |
|
232 |
/**
|
233 |
* @return the resultType
|
234 |
*/
|
235 |
public String[] getResultType() { |
236 |
return resultType;
|
237 |
} |
238 |
|
239 |
/**
|
240 |
* @param resultType the resultType to set
|
241 |
*/
|
242 |
public void setResultType(String[] resultType) { |
243 |
this.resultType = resultType;
|
244 |
} |
245 |
|
246 |
/**
|
247 |
* @return the nAMESPACE
|
248 |
*/
|
249 |
public String[] getNAMESPACE() { |
250 |
return NAMESPACE;
|
251 |
} |
252 |
|
253 |
/**
|
254 |
* @param namespace the nAMESPACE to set
|
255 |
*/
|
256 |
public void setNAMESPACE(String[] namespace) { |
257 |
NAMESPACE = namespace; |
258 |
} |
259 |
|
260 |
|
261 |
} |