test_class.declarator: geocoder
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private GeonamesGeocoderService geocoder;
test_class.type: GeonamesGeocoderService
test_class.var_name: geocoder
test_class.declarator: geoService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private GeoService geoService;
test_class.type: GeoService
test_class.var_name: geoService
test_class.file: plugin/geocoder/geocoder/src/test/java/org/geomajas/plugin/geocoder/service/GeonamesGeocoderServiceTest.java
test_class.identifier: GeonamesGeocoderServiceTest
test_case.body: @Test
  	public void testGetCrs() throws Exception {
  		CoordinateReferenceSystem crs = geocoder.getCrs();
  		Assert.assertEquals(4326, geoService.getSridFromCrs(crs));
  	}
test_case.class_method_signature: GeonamesGeocoderServiceTest.testGetCrs()
test_case.full_signature: @Test public void testGetCrs()
test_case.identifier: testGetCrs
test_case.invocations: getCrs assertEquals getSridFromCrs
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetCrs()
focal_class.declarator: log = LoggerFactory.getLogger(GeonamesGeocoderService.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger log = LoggerFactory.getLogger(GeonamesGeocoderService.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: DELTA = 1e-20
focal_class.modifier: private static final
focal_class.original_string: private static final double DELTA = 1e-20;
focal_class.type: double
focal_class.var_name: DELTA
focal_class.declarator: USER_AGENT = "Geomajas GeoNames geocoder service"
focal_class.modifier: private static final
focal_class.original_string: private static final String USER_AGENT = "Geomajas GeoNames geocoder service";
focal_class.type: String
focal_class.var_name: USER_AGENT
focal_class.declarator: FUZZY_VALUE = 0.8
focal_class.modifier: private static final
focal_class.original_string: private static final double FUZZY_VALUE = 0.8;
focal_class.type: double
focal_class.var_name: FUZZY_VALUE
focal_class.declarator: READ_TIMEOUT = 120000
focal_class.modifier: private static final
focal_class.original_string: private static final int READ_TIMEOUT = 120000;
focal_class.type: int
focal_class.var_name: READ_TIMEOUT
focal_class.declarator: CONNECT_TIMEOUT = 10000
focal_class.modifier: private static final
focal_class.original_string: private static final int CONNECT_TIMEOUT = 10000;
focal_class.type: int
focal_class.var_name: CONNECT_TIMEOUT
focal_class.declarator: URL_BASE = "http://ws.geonames.org/search?"
focal_class.modifier: private static final
focal_class.original_string: private static final String URL_BASE = "http://ws.geonames.org/search?";
focal_class.type: String
focal_class.var_name: URL_BASE
focal_class.declarator: geoService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private GeoService geoService;
focal_class.type: GeoService
focal_class.var_name: geoService
focal_class.declarator: splitCommaReverseService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private SplitCommaReverseService splitCommaReverseService;
focal_class.type: SplitCommaReverseService
focal_class.var_name: splitCommaReverseService
focal_class.declarator: crs
focal_class.modifier: private
focal_class.original_string: private CoordinateReferenceSystem crs;
focal_class.type: CoordinateReferenceSystem
focal_class.var_name: crs
focal_class.declarator: name = "GeoNames"
focal_class.modifier: private
focal_class.original_string: private String name = "GeoNames";
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: userName
focal_class.modifier: private
focal_class.original_string: private String userName;
focal_class.type: String
focal_class.var_name: userName
focal_class.declarator: userNameProperty
focal_class.modifier: private
focal_class.original_string: private String userNameProperty;
focal_class.type: String
focal_class.var_name: userNameProperty
focal_class.file: plugin/geocoder/geocoder/src/main/java/org/geomajas/plugin/geocoder/service/GeonamesGeocoderService.java
focal_class.identifier: GeonamesGeocoderService
focal_class.interfaces: implements GeocoderService
focal_class.class_method_signature: GeonamesGeocoderService.initCrs()
focal_class.full_signature: @PostConstruct protected void initCrs()
focal_class.identifier: initCrs
focal_class.modifiers: @PostConstruct protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initCrs()
focal_class.class_method_signature: GeonamesGeocoderService.getName()
focal_class.full_signature: public String getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: GeonamesGeocoderService.setName(String name)
focal_class.full_signature: @Api public void setName(String name)
focal_class.identifier: setName
focal_class.modifiers: @Api public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void setName(String name)
focal_class.class_method_signature: GeonamesGeocoderService.setUserName(String userName)
focal_class.full_signature: @Api public void setUserName(String userName)
focal_class.identifier: setUserName
focal_class.modifiers: @Api public
focal_class.parameters: (String userName)
focal_class.return: void
focal_class.signature: void setUserName(String userName)
focal_class.class_method_signature: GeonamesGeocoderService.setUserNameProperty(String userNameProperty)
focal_class.full_signature: @Api public void setUserNameProperty(String userNameProperty)
focal_class.identifier: setUserNameProperty
focal_class.modifiers: @Api public
focal_class.parameters: (String userNameProperty)
focal_class.return: void
focal_class.signature: void setUserNameProperty(String userNameProperty)
focal_class.class_method_signature: GeonamesGeocoderService.getCrs()
focal_class.full_signature: public CoordinateReferenceSystem getCrs()
focal_class.identifier: getCrs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CoordinateReferenceSystem
focal_class.signature: CoordinateReferenceSystem getCrs()
focal_class.class_method_signature: GeonamesGeocoderService.getLocation(List<String> location, int maxAlternatives, Locale ignore)
focal_class.full_signature: public GetLocationResult[] getLocation(List<String> location, int maxAlternatives, Locale ignore)
focal_class.identifier: getLocation
focal_class.modifiers: public
focal_class.parameters: (List<String> location, int maxAlternatives, Locale ignore)
focal_class.return: GetLocationResult[]
focal_class.signature: GetLocationResult[] getLocation(List<String> location, int maxAlternatives, Locale ignore)
focal_class.class_method_signature: GeonamesGeocoderService.removeDuplicates(List<Toponym> toponyms)
focal_class.full_signature: private void removeDuplicates(List<Toponym> toponyms)
focal_class.identifier: removeDuplicates
focal_class.modifiers: private
focal_class.parameters: (List<Toponym> toponyms)
focal_class.return: void
focal_class.signature: void removeDuplicates(List<Toponym> toponyms)
focal_class.class_method_signature: GeonamesGeocoderService.search(String q, int maxRows, boolean fuzzy)
focal_class.full_signature: public List<Toponym> search(String q, int maxRows, boolean fuzzy)
focal_class.identifier: search
focal_class.modifiers: public
focal_class.parameters: (String q, int maxRows, boolean fuzzy)
focal_class.return: List<Toponym>
focal_class.signature: List<Toponym> search(String q, int maxRows, boolean fuzzy)
focal_class.class_method_signature: GeonamesGeocoderService.connect(String url)
focal_class.full_signature: private InputStream connect(String url)
focal_class.identifier: connect
focal_class.modifiers: private
focal_class.parameters: (String url)
focal_class.return: InputStream
focal_class.signature: InputStream connect(String url)
focal_class.class_method_signature: GeonamesGeocoderService.getToponymFromElement(Element toponymElement)
focal_class.full_signature: private Toponym getToponymFromElement(Element toponymElement)
focal_class.identifier: getToponymFromElement
focal_class.modifiers: private
focal_class.parameters: (Element toponymElement)
focal_class.return: Toponym
focal_class.signature: Toponym getToponymFromElement(Element toponymElement)
focal_method.body: public CoordinateReferenceSystem getCrs() {
  		return crs;
  	}
focal_method.class_method_signature: GeonamesGeocoderService.getCrs()
focal_method.full_signature: public CoordinateReferenceSystem getCrs()
focal_method.identifier: getCrs
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: CoordinateReferenceSystem
focal_method.signature: CoordinateReferenceSystem getCrs()