Revision 3486 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/parsers/DiscovererFormat.java
DiscovererFormat.java | ||
---|---|---|
47 | 47 |
import es.gva.cit.catalogClient.parsers.ISO19115Deegree.DeegreeRecordsParser; |
48 | 48 |
import es.gva.cit.catalogClient.parsers.dublinCore.DublinCoreRecordsParser; |
49 | 49 |
import es.gva.cit.catalogClient.srw.parsers.SrwRecordsParser; |
50 |
import es.gva.cit.catalogClient.utils.comboServer.ServerData; |
|
50 | 51 |
import es.gva.cit.catalogClient.z3950.parsers.Z3959RecordsParser; |
51 | 52 |
|
52 | 53 |
/** |
... | ... | |
85 | 86 |
return new DeegreeRecordsParser(node); |
86 | 87 |
} |
87 | 88 |
|
88 |
if (protocol.equals("Z3950")) {
|
|
89 |
if (protocol.equals(ServerData.SERVER_SUBTYPE_CATALOG_Z3950)) {
|
|
89 | 90 |
return new Z3959RecordsParser(node,url); |
90 |
} else if (protocol.equals("SRW")) {
|
|
91 |
} else if (protocol.equals(ServerData.SERVER_SUBTYPE_CATALOG_SRW)) {
|
|
91 | 92 |
return new SrwRecordsParser(node); |
92 | 93 |
} else { |
93 | 94 |
if (node.getName().equals("dc:metadata")){ |
Also available in: Unified diff