public interface AddressValidator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
validateAddress(Address pAddress)
Verify that all required properties are present in an address.
|
java.util.Collection |
validateAddress(Address pAddress,
java.util.Locale pLocale)
Verify that all required properties are present in an address.
|
java.util.Collection |
validateAddress(Address pAddress,
java.util.ResourceBundle pResources)
Verify that all required properties are present in an address.
|
static final java.lang.String CLASS_VERSION
java.util.Collection validateAddress(Address pAddress, java.util.Locale pLocale)
pAddress
- The address being examined.pLocale
- The optional locale to use when looking up the resource bundle
that contains error messages. If null, the default server locale
will be used.java.util.Collection validateAddress(Address pAddress, java.util.ResourceBundle pResources)
pAddress
- The address being examined.pResources
- The resource bundle from which to retrieve error messages.java.util.Collection validateAddress(Address pAddress)
pAddress
- The address being examined.