public class Addresser extends Object implements Addresser
| Constructor and Description |
|---|
Addresser(List<AddressFactory> addressFactories,
AddressingConfiguration configuration) |
Addresser(List<AddressFactory> addressFactories,
AddressingConfiguration configuration,
boolean onlyRemote) |
public Addresser(List<AddressFactory> addressFactories, AddressingConfiguration configuration, boolean onlyRemote) throws AddressingException
AddressingExceptionpublic Addresser(List<AddressFactory> addressFactories, AddressingConfiguration configuration) throws AddressingException
AddressingExceptionpublic Response verify(RequestAddress address, Preferences preferences) throws AddressingException
verify in interface Addressingaddress - address that needs to be verifiedpreferences - criteria controlling aspects of verificationAddressingException - exception is thrown only when underlying implementation fails to populatepublic Response geocode(RequestAddress address, Preferences preferences) throws AddressingException
geocode in interface Addressingaddress - address that need to be geocodedpreferences - criteria controlling aspects of geocodingAddressingException - exception is thrown only when underlying implementation fails to populatepublic ConfiguredDictionaryOutput getConfiguredDictionaries(ConfiguredDictionaryInput request) throws AddressingException
getConfiguredDictionaries in interface Addressingrequest - which contains country code for fetching list of configured dictionaries.AddressingException - exception is thrown only when underlying implementation failspublic ParsedResponse parse(RequestAddress address, Preferences preferences) throws AddressingException
AddressingparseV2 method.parse in interface Addressingaddress - address that needs to be parsedpreferences - criteria controlling aspects of parsingAddressingException - exception is thrown only when underlying implementation fails to populatepublic ParsedResponseV2 parseV2(RequestAddress address, Preferences preferences) throws AddressingException
parseV2 in interface Addressingaddress - address that needs to be parsedpreferences - criteria controlling aspects of parsingAddressingException - exception is thrown only when underlying implementation fails to populatepublic PredictionResponse predict(RequestAddress address, Preferences preferences) throws AddressingException
Addressingpredict in interface Addressingaddress - request addresspreferences - preferences to control how matching is done or how the data is returnedPredictionResponseAddressingException - exception is thrown only when underlying implementation fails to populatepublic PredictionResponseV2 predictV2(RequestAddress address, Preferences preferences) throws AddressingException
AddressingpredictV2 in interface Addressingaddress - request addresspreferences - preferences to control how matching is done or how the data is returnedPredictionResponseAddressingException - exception is thrown only when underlying implementation fails to populatepublic Response lookup(LookupType type, Preferences preferences, KeyValue... key) throws AddressingException
lookup in interface Addressingtype - LookupType i.e PB_KEYpreferences - preferences to control how matching is done or how the data is returnedkey - key information for lookupAddressingException - exception is thrown only when underlying implementation fails to populatepublic Response reverse(Double x, Double y, String country, Preferences preferences) throws AddressingException
Addressingreverse in interface Addressingx - coordinate longitudey - coordinate latitudecountry - countrypreferences - preferences to control how matching is done or how the data is returnedAddressingException - exception is thrown only when underlying implementation fails to populatepublic Capabilities capabilities() throws AddressingException
Addressingcapabilities in interface AddressingAddressingException - exception is thrown only when underlying implementation fails to populatepublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic List<Feature> features(String name) throws AddressingException
features in interface AddresserAddressingExceptionCopyright © 2024. All rights reserved.