Revision 3566 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/gazetteer/idec/parsers/IdecFeatureParser.java
IdecFeatureParser.java | ||
---|---|---|
1 |
|
|
1 | 2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
2 | 3 |
* |
3 | 4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
... | ... | |
39 | 40 |
* dac@iver.es |
40 | 41 |
*/ |
41 | 42 |
package es.gva.cit.gazetteer.idec.parsers; |
42 |
|
|
43 |
import java.awt.geom.Point2D; |
|
44 |
|
|
45 | 43 |
import es.gva.cit.catalogClient.metadataXML.XMLNode; |
46 | 44 |
import es.gva.cit.catalogClient.metadataXML.XMLTree; |
47 | 45 |
import es.gva.cit.gazetteer.querys.Feature; |
46 |
import java.awt.geom.Point2D; |
|
48 | 47 |
|
49 | 48 |
/** |
49 |
* |
|
50 |
* |
|
51 |
* |
|
50 | 52 |
* @author Jorge Piera Llodra (piera_jor@gva.es) |
51 | 53 |
*/ |
52 | 54 |
public class IdecFeatureParser { |
55 |
|
|
56 |
/** |
|
57 |
* |
|
58 |
* |
|
59 |
* |
|
60 |
* @return |
|
61 |
* @param node |
|
62 |
*/ |
|
63 |
public Feature[] parse(XMLNode node) { |
|
53 | 64 |
|
54 |
public Feature[] parse(XMLNode node){ |
|
55 |
|
|
56 | 65 |
XMLNode[] nodeFeatures = XMLTree.searchMultipleNode(node,"SOAP-ENV:Body->ns1:getCoordenadesUTMResponse->return->item"); |
57 | 66 |
Feature[] features = new Feature[nodeFeatures.length]; |
58 | 67 |
|
... | ... | |
66 | 75 |
} |
67 | 76 |
|
68 | 77 |
return features; |
69 |
} |
|
70 |
} |
|
78 |
} |
|
79 |
} |
Also available in: Unified diff