Revision 28375 branches/v2_0_0_prep/libraries/libGeocoding/src/org/gvsig/geocoding/impl/DefaultGeocodingLibrary.java
DefaultGeocodingLibrary.java | ||
---|---|---|
32 | 32 |
import org.gvsig.tools.locator.ReferenceNotRegisteredException; |
33 | 33 |
|
34 | 34 |
/** |
35 |
* Geocoding library |
|
35 |
* Default Geocoding library
|
|
36 | 36 |
* |
37 | 37 |
* @author <a href="mailto:jsanz@prodevelop.es"> Jorge Gaspar Sanz Salinas</a> |
38 | 38 |
* @author <a href="mailto:vsanjaime@prodevelop.es"> Vicente Sanjaime Calvet</a> |
... | ... | |
45 | 45 |
*/ |
46 | 46 |
public void initialize() throws ReferenceNotRegisteredException { |
47 | 47 |
super.initialize(); |
48 |
GeocodingLocator.registerGeocoder(DataGeocoderImpl.class); |
|
49 |
String[] names = GeocodingLocator.getInstance().getNames(); |
|
50 |
for (int i = 0; i < names.length; i++) { |
|
51 |
System.out.println("Implementacion registrada: "+names[i]); |
|
52 |
} |
|
48 |
GeocodingLocator.registerGeocoder(DataGeocoderImpl.class); |
|
53 | 49 |
} |
54 | 50 |
|
55 | 51 |
} |
Also available in: Unified diff