Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class AddressLineValidator

java.lang.Object
  |
  +--inspireit.uddi.util.validators.AddressLineValidator

public class AddressLineValidator
extends java.lang.Object

AddressLine validator.

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $

Field Summary
protected  AddressLine addressLine
          The AddressLine 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 AddressLineValidator()
          AddressValidator default constructor.
protected AddressLineValidator(AddressLine addressLine, boolean throwOnFirst)
          AddressLineValidator constructor.
 
Method Summary
 void validate()
          Validates an AddressLine.
 void validateAddressLine(java.lang.String addressLine)
           
 void validateKeyName(java.lang.String keyName)
           
 void validateKeyValue(java.lang.String keyValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addressLine

protected AddressLine addressLine
The AddressLine to validate.


throwOnFirst

protected boolean throwOnFirst
Whether the exception should be thrown from the first anomaly or when all checkings have been performed.

Constructor Detail

AddressLineValidator

protected AddressLineValidator()
AddressValidator default constructor.


AddressLineValidator

protected AddressLineValidator(AddressLine addressLine,
                               boolean throwOnFirst)
AddressLineValidator constructor.

Parameters:
addressLine - The Address to validate.
throwOnFirst - Whether the exception should be thrown from the first anomaly or when all checkings have been performed
Method Detail

validate

public void validate()
              throws AddressLineException
Validates an AddressLine.

Throws:
AddressLineException - if an AddressLine anomaly has been detected

validateAddressLine

public void validateAddressLine(java.lang.String addressLine)
                         throws AddressLineException
AddressLineException

validateKeyName

public void validateKeyName(java.lang.String keyName)
                     throws AddressLineException
AddressLineException

validateKeyValue

public void validateKeyValue(java.lang.String keyValue)
                      throws AddressLineException
AddressLineException

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.