|
Ruddi™ UDDI Client API 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--inspireit.uddi.util.validators.AddressValidator
Address validator.
| Field Summary | |
protected Address |
address
The Address to validate. |
protected boolean |
throwOnFirst
Whether the exception should be thrown from the first anomaly or when all checkings have been performed. |
| Constructor Summary | |
protected |
AddressValidator()
AddressValidator default constructor. |
protected |
AddressValidator(Address address,
boolean throwOnFirst)
AddressValidator constructor. |
| Method Summary | |
void |
validate()
Validates an Address. |
void |
validateAddressLine(AddressLine addressLine)
|
void |
validateSortCode(java.lang.String sortCode)
|
void |
validateTModelKey(TModelKey tModelKey)
|
void |
validateUseType(UseType useType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Address address
protected boolean throwOnFirst
| Constructor Detail |
protected AddressValidator()
protected AddressValidator(Address address,
boolean throwOnFirst)
address - The Address to validate.throwOnFirst - Whether the exception should be thrown from the
first anomaly or when all checkings have been performed| Method Detail |
public void validate()
throws AddressException
AddressException - if an Address anomaly has been detected
public void validateUseType(UseType useType)
throws AddressException
AddressException
public void validateSortCode(java.lang.String sortCode)
throws AddressException
AddressException
public void validateAddressLine(AddressLine addressLine)
throws AddressException
AddressException
public void validateTModelKey(TModelKey tModelKey)
throws AddressException
AddressException
|
Ruddi™ UDDI Client API 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||