Revision 12552 branches/CatalogYNomenclator_v1_1_0_1005/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/schemas/parsers/GeonetworkISO19115Parser.java
GeonetworkISO19115Parser.java | ||
---|---|---|
40 | 40 |
* dac@iver.es |
41 | 41 |
*/ |
42 | 42 |
package es.gva.cit.catalogClient.schemas.parsers; |
43 |
import java.net.URL; |
|
44 | 43 |
|
44 |
import java.net.URI; |
|
45 |
|
|
45 | 46 |
import es.gva.cit.catalogClient.metadataxml.XMLNode; |
46 | 47 |
import es.gva.cit.catalogClient.metadataxml.XMLTree; |
47 | 48 |
import es.gva.cit.catalogClient.querys.Coordinates; |
... | ... | |
63 | 64 |
* @param node Node with the answer |
64 | 65 |
* @param serverURL Server URL. Necessary to load the image (just Geonetwork) |
65 | 66 |
*/ |
66 |
public GeonetworkISO19115Parser(XMLNode node, URL serverURL) {
|
|
67 |
public GeonetworkISO19115Parser(XMLNode node, URI serverURL) {
|
|
67 | 68 |
setNode(node); |
68 | 69 |
setTitle(XMLTree.searchNodeValue(node, |
69 | 70 |
"dataIdInfo->idCitation->resTitle")); |
... | ... | |
73 | 74 |
"dataIdInfo->descKeys->keyword")); |
74 | 75 |
setResources(getResources("distInfo->distTranOps->onLineSrc")); |
75 | 76 |
setFileID(XMLTree.searchNodeValue(node,"mdFileID")); |
76 |
setServerURL(serverURL);
|
|
77 |
setServerURI(serverURL);
|
|
77 | 78 |
//Caution: getImageUrl uses serverURL and FileID!!! |
78 | 79 |
setImage(getImageUrl("dataIdInfo->graphOver")); |
79 | 80 |
|
Also available in: Unified diff