root / trunk / applications / appCatalogAndGazetteerClient / src / es / gva / cit / catalog / csw / drivers / CSWCapabilities.java @ 15558
History | View | Annotate | Download (5.14 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 |
|
71 |
/**
|
72 |
* @return the outputSchema
|
73 |
*/
|
74 |
public String[] getOutputSchema() { |
75 |
return outputSchema;
|
76 |
} |
77 |
|
78 |
/**
|
79 |
* @param outputSchema the outputSchema to set
|
80 |
*/
|
81 |
public void setOutputSchema(String[] outputSchema) { |
82 |
this.outputSchema = outputSchema;
|
83 |
} |
84 |
|
85 |
/**
|
86 |
* @return the operations
|
87 |
*/
|
88 |
public CSWSupportedProtocolOperations getOperations() {
|
89 |
return operations;
|
90 |
} |
91 |
|
92 |
/**
|
93 |
* @param operations the operations to set
|
94 |
*/
|
95 |
public void setOperations(CSWSupportedProtocolOperations operations) { |
96 |
this.operations = operations;
|
97 |
} |
98 |
|
99 |
/**
|
100 |
* @return the outputFormat
|
101 |
*/
|
102 |
public String[] getOutputFormat() { |
103 |
return outputFormat;
|
104 |
} |
105 |
|
106 |
/**
|
107 |
* @param outputFormat the outputFormat to set
|
108 |
*/
|
109 |
public void setOutputFormat(String[] outputFormat) { |
110 |
this.outputFormat = outputFormat;
|
111 |
} |
112 |
|
113 |
public CSWCapabilities(URL url) { |
114 |
super();
|
115 |
operations = new CSWSupportedProtocolOperations(url);
|
116 |
} |
117 |
|
118 |
/**
|
119 |
* @return the responseHandler
|
120 |
*/
|
121 |
public String getResponseHandler() { |
122 |
return responseHandler;
|
123 |
} |
124 |
|
125 |
/**
|
126 |
* @param responseHandler the responseHandler to set
|
127 |
*/
|
128 |
public void setResponseHandler(String responseHandler) { |
129 |
this.responseHandler = responseHandler;
|
130 |
} |
131 |
|
132 |
/**
|
133 |
* @return the hopCount
|
134 |
*/
|
135 |
public String getHopCount() { |
136 |
return hopCount;
|
137 |
} |
138 |
|
139 |
/**
|
140 |
* @param hopCount the hopCount to set
|
141 |
*/
|
142 |
public void setHopCount(String hopCount) { |
143 |
this.hopCount = hopCount;
|
144 |
} |
145 |
|
146 |
/**
|
147 |
* @return the distributedSearch
|
148 |
*/
|
149 |
public String getDistributedSearch() { |
150 |
return distributedSearch;
|
151 |
} |
152 |
|
153 |
/**
|
154 |
* @param distributedSearch the distributedSearch to set
|
155 |
*/
|
156 |
public void setDistributedSearch(String distributedSearch) { |
157 |
this.distributedSearch = distributedSearch;
|
158 |
} |
159 |
|
160 |
/**
|
161 |
* @return the constraint
|
162 |
*/
|
163 |
public String getConstraint() { |
164 |
return constraint;
|
165 |
} |
166 |
|
167 |
/**
|
168 |
* @param constraint the constraint to set
|
169 |
*/
|
170 |
public void setConstraint(String constraint) { |
171 |
this.constraint = constraint;
|
172 |
} |
173 |
|
174 |
/**
|
175 |
* @return the cONSTRAINTLANGUAGE
|
176 |
*/
|
177 |
public String[] getCONSTRAINTLANGUAGE() { |
178 |
return CONSTRAINTLANGUAGE;
|
179 |
} |
180 |
|
181 |
/**
|
182 |
* @param constraintlanguage the cONSTRAINTLANGUAGE to set
|
183 |
*/
|
184 |
public void setCONSTRAINTLANGUAGE(String[] constraintlanguage) { |
185 |
CONSTRAINTLANGUAGE = constraintlanguage; |
186 |
} |
187 |
|
188 |
/**
|
189 |
* @return the elementSetName
|
190 |
*/
|
191 |
public String[] getElementSetName() { |
192 |
return elementSetName;
|
193 |
} |
194 |
|
195 |
/**
|
196 |
* @param elementSetName the elementSetName to set
|
197 |
*/
|
198 |
public void setElementSetName(String[] elementSetName) { |
199 |
this.elementSetName = elementSetName;
|
200 |
} |
201 |
|
202 |
/**
|
203 |
* @return the typeNames
|
204 |
*/
|
205 |
public String[] getTypeNames() { |
206 |
return typeNames;
|
207 |
} |
208 |
|
209 |
/**
|
210 |
* @param typeNames the typeNames to set
|
211 |
*/
|
212 |
public void setTypeNames(String[] typeNames) { |
213 |
this.typeNames = typeNames;
|
214 |
} |
215 |
|
216 |
/**
|
217 |
* @return the resultType
|
218 |
*/
|
219 |
public String[] getResultType() { |
220 |
return resultType;
|
221 |
} |
222 |
|
223 |
/**
|
224 |
* @param resultType the resultType to set
|
225 |
*/
|
226 |
public void setResultType(String[] resultType) { |
227 |
this.resultType = resultType;
|
228 |
} |
229 |
|
230 |
/**
|
231 |
* @return the nAMESPACE
|
232 |
*/
|
233 |
public String[] getNAMESPACE() { |
234 |
return NAMESPACE;
|
235 |
} |
236 |
|
237 |
/**
|
238 |
* @param namespace the nAMESPACE to set
|
239 |
*/
|
240 |
public void setNAMESPACE(String[] namespace) { |
241 |
NAMESPACE = namespace; |
242 |
} |
243 |
|
244 |
|
245 |
} |