test_class.declarator: service
test_class.modifier: @Autowired
  	@Qualifier("staticRegexGeocoderService")
  	private
test_class.original_string: @Autowired
  	@Qualifier("staticRegexGeocoderService")
  	private StaticRegexGeocoderService service;
test_class.type: StaticRegexGeocoderService
test_class.var_name: service
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.declarator: booischotShort
test_class.modifier: @Autowired
  	@Qualifier("BooischotShort")
  	private
test_class.original_string: @Autowired
  	@Qualifier("BooischotShort")
  	private StaticRegexGeocoderLocationInfo booischotShort;
test_class.type: StaticRegexGeocoderLocationInfo
test_class.var_name: booischotShort
test_class.declarator: booischot
test_class.modifier: @Autowired
  	@Qualifier("Booischot")
  	private
test_class.original_string: @Autowired
  	@Qualifier("Booischot")
  	private StaticRegexGeocoderLocationInfo booischot;
test_class.type: StaticRegexGeocoderLocationInfo
test_class.var_name: booischot
test_class.declarator: booischotStrict
test_class.modifier: @Autowired
  	@Qualifier("BooischotStrict")
  	private
test_class.original_string: @Autowired
  	@Qualifier("BooischotStrict")
  	private StaticRegexGeocoderLocationInfo booischotStrict;
test_class.type: StaticRegexGeocoderLocationInfo
test_class.var_name: booischotStrict
test_class.file: plugin/geocoder/geocoder/src/test/java/org/geomajas/plugin/geocoder/service/StaticRegexGeocoderServiceTest.java
test_class.identifier: StaticRegexGeocoderServiceTest
test_case.body: @Test
  	public void testGetOneLocationStrict() throws Exception {
  		List<String> list = new ArrayList<String>();
  		GetLocationResult result;
  
  		// all details
  		list.clear();
  		list.add("België");
  		list.add("Antwerpen");
  		list.add("Booischot");
  		result = service.getLocation(booischotStrict, list);
  		Assert.assertNotNull(result);
  
  		// another alternative skips a level
  		list.clear();
  		list.add("Antwerpen");
  		list.add("Booischot");
  		result = service.getLocation(booischotStrict, list);
  		Assert.assertNull(result);
  
  		// another alternative with too many details
  		list.clear();
  		list.add("België");
  		list.add("Antwerpen");
  		list.add("Booischot");
  		list.add("Broekmansstraat");
  		result = service.getLocation(booischotStrict, list);
  		Assert.assertNull(result);
  
  		// another alternative with an optional bit skipped
  		list.clear();
  		list.add("België");
  		list.add("Booischot");
  		result = service.getLocation(booischotStrict, list);
  		Assert.assertNotNull(result);
  
  		// another alternative with too little lines
  		list.clear();
  		list.add("België");
  		result = service.getLocation(booischotStrict, list);
  		Assert.assertNull(result);
  	}
test_case.class_method_signature: StaticRegexGeocoderServiceTest.testGetOneLocationStrict()
test_case.full_signature: @Test public void testGetOneLocationStrict()
test_case.identifier: testGetOneLocationStrict
test_case.invocations: clear add add add getLocation assertNotNull clear add add getLocation assertNull clear add add add add getLocation assertNull clear add add getLocation assertNotNull clear add getLocation assertNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetOneLocationStrict()
focal_class.declarator: geocoderInfo
focal_class.modifier: @NotNull
  	private
focal_class.original_string: @NotNull
  	private StaticRegexGeocoderInfo geocoderInfo;
focal_class.type: StaticRegexGeocoderInfo
focal_class.var_name: geocoderInfo
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: dtoConverterService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private DtoConverterService dtoConverterService;
focal_class.type: DtoConverterService
focal_class.var_name: dtoConverterService
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 = "static-regex"
focal_class.modifier: private
focal_class.original_string: private String name = "static-regex";
focal_class.type: String
focal_class.var_name: name
focal_class.file: plugin/geocoder/geocoder/src/main/java/org/geomajas/plugin/geocoder/service/StaticRegexGeocoderService.java
focal_class.identifier: StaticRegexGeocoderService
focal_class.interfaces: implements GeocoderService
focal_class.class_method_signature: StaticRegexGeocoderService.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: StaticRegexGeocoderService.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: StaticRegexGeocoderService.setGeocoderInfo(StaticRegexGeocoderInfo geocoderInfo)
focal_class.full_signature: @Api public void setGeocoderInfo(StaticRegexGeocoderInfo geocoderInfo)
focal_class.identifier: setGeocoderInfo
focal_class.modifiers: @Api public
focal_class.parameters: (StaticRegexGeocoderInfo geocoderInfo)
focal_class.return: void
focal_class.signature: void setGeocoderInfo(StaticRegexGeocoderInfo geocoderInfo)
focal_class.class_method_signature: StaticRegexGeocoderService.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: StaticRegexGeocoderService.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: StaticRegexGeocoderService.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: StaticRegexGeocoderService.getLocation(StaticRegexGeocoderLocationInfo test, List<String> location)
focal_class.full_signature:  GetLocationResult getLocation(StaticRegexGeocoderLocationInfo test, List<String> location)
focal_class.identifier: getLocation
focal_class.parameters: (StaticRegexGeocoderLocationInfo test, List<String> location)
focal_class.return: GetLocationResult
focal_class.signature: GetLocationResult getLocation(StaticRegexGeocoderLocationInfo test, List<String> location)
focal_method.body: public GetLocationResult[] getLocation(List<String> location, int maxAlternatives, Locale ignore) {
  		GetLocationResult result = null;
  		for (StaticRegexGeocoderLocationInfo test : geocoderInfo.getLocations()) {
  			result = getLocation(test, location);
  			if (null != result) {
  				break;
  			}
  		}
  		if (null != result) {
  			return new GetLocationResult[]{result};
  		}
  		return null;
  	}
focal_method.class_method_signature: StaticRegexGeocoderService.getLocation(List<String> location, int maxAlternatives, Locale ignore)
focal_method.full_signature: public GetLocationResult[] getLocation(List<String> location, int maxAlternatives, Locale ignore)
focal_method.identifier: getLocation
focal_method.invocations: getLocations getLocation
focal_method.modifiers: public
focal_method.parameters: (List<String> location, int maxAlternatives, Locale ignore)
focal_method.return: GetLocationResult[]
focal_method.signature: GetLocationResult[] getLocation(List<String> location, int maxAlternatives, Locale ignore)