Revision 3486 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/csw/drivers/CSWCatalogServiceDriver.java
CSWCatalogServiceDriver.java | ||
---|---|---|
46 | 46 |
import es.gva.cit.catalogClient.metadataXML.XMLNode; |
47 | 47 |
import es.gva.cit.catalogClient.metadataXML.XMLTree; |
48 | 48 |
import es.gva.cit.catalogClient.metadataXML.XMLTreeNumberOfRecordsAnswer; |
49 |
import es.gva.cit.catalogClient.profiles.Profile; |
|
49 | 50 |
import es.gva.cit.catalogClient.protocols.HTTPGetProtocol; |
50 | 51 |
import es.gva.cit.catalogClient.protocols.HTTPPostProtocol; |
51 | 52 |
import es.gva.cit.catalogClient.protocols.SOAPProtocol; |
... | ... | |
141 | 142 |
if (getOperations().getGetRecords()==null) |
142 | 143 |
return null; |
143 | 144 |
|
144 |
if (getServerProfile().equals("ISO19115")){
|
|
145 |
if (getServerProfile().equals(Profile.ISO19115)){
|
|
145 | 146 |
firstRecord = firstRecord - 1; |
146 | 147 |
} |
147 | 148 |
|
... | ... | |
227 | 228 |
|
228 | 229 |
XMLNode[] auxNodes = cutMetadata(node); |
229 | 230 |
|
230 |
if (getServerProfile().equals("ebRIM")) {
|
|
231 |
if (getServerProfile().equals(Profile.EBRIM)) {
|
|
231 | 232 |
auxNodes = getEbRIMNodes(auxNodes, url); |
232 | 233 |
} |
233 | 234 |
|
Also available in: Unified diff