org.starhope.appius.mb.address
Class GeoCoderDotUS

java.lang.Object
  extended by org.starhope.appius.mb.address.GeoCoderDotUS
All Implemented Interfaces:
UserAddressValidator

public class GeoCoderDotUS
extends Object
implements UserAddressValidator

This class is used to validate addresses and provide alternate suggestions for addresses which are suspected to be invalid. It's used to reduce user error in inputs.

Author:
brpocock@star-hope.org

Constructor Summary
GeoCoderDotUS()
           
 
Method Summary
 UserAddress[] getAddressSuggestions(UserAddress ua)
          WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009)
 boolean validateUserAddress(UserAddress ua)
          This is an overriding method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoCoderDotUS

public GeoCoderDotUS()
Method Detail

getAddressSuggestions

public UserAddress[] getAddressSuggestions(UserAddress ua)
Description copied from interface: UserAddressValidator
WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009)

Specified by:
getAddressSuggestions in interface UserAddressValidator
Parameters:
ua - WRITEME
Returns:
WRITEME
See Also:
UserAddressValidator.getAddressSuggestions(org.starhope.appius.mb.UserAddress)

validateUserAddress

public boolean validateUserAddress(UserAddress ua)
This is an overriding method.

Specified by:
validateUserAddress in interface UserAddressValidator
Parameters:
ua - WRITEME
Returns:
WRITEME
See Also:
UserAddressValidator.validateUserAddress(org.starhope.appius.mb.UserAddress)