Revision 3486 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/csw/drivers/CSWMessages.java
CSWMessages.java | ||
---|---|---|
46 | 46 |
|
47 | 47 |
import es.gva.cit.catalogClient.csw.queries.CSWQuery; |
48 | 48 |
import es.gva.cit.catalogClient.drivers.IProtocolMessages; |
49 |
import es.gva.cit.catalogClient.profiles.Profile; |
|
49 | 50 |
import es.gva.cit.catalogClient.protocols.SOAPProtocol; |
50 | 51 |
import es.gva.cit.catalogClient.querys.Query; |
51 | 52 |
import es.gva.cit.catalogClient.utils.Strings; |
... | ... | |
187 | 188 |
* @return |
188 | 189 |
*/ |
189 | 190 |
private String getElementSetNameLabel(){ |
190 |
if (driver.getServerProfile().equals("ebRIM")){
|
|
191 |
if (driver.getServerProfile().equals(Profile.EBRIM)){
|
|
191 | 192 |
return "<ElementSetName typeNames='Dataset'>"; |
192 | 193 |
}else{ |
193 | 194 |
return "<ElementSetName>"; |
... | ... | |
239 | 240 |
*/ |
240 | 241 |
private String getOutputSchema(String[] outputSchemas){ |
241 | 242 |
for (int i=0 ; i<outputSchemas.length ; i++){ |
242 |
if (outputSchemas[i].equals("ISO19115"))
|
|
243 |
if (outputSchemas[i].equals(Profile.ISO19115))
|
|
243 | 244 |
return outputSchemas[i]; |
244 | 245 |
} |
245 | 246 |
return outputSchemas[0]; |
Also available in: Unified diff