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