Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class ContactsValidator

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

public class ContactsValidator
extends java.lang.Object

Contacts validator.

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

Field Summary
protected  Contacts contacts
          The Contacts 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 ContactsValidator()
          ContactsValidator default constructor.
protected ContactsValidator(Contacts contacts, boolean throwOnFirst)
          ContactsValidator constructor.
 
Method Summary
 void validate()
          Validates a Contacts.
 void validateContact(Contact contact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contacts

protected Contacts contacts
The Contacts 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

ContactsValidator

protected ContactsValidator()
ContactsValidator default constructor.


ContactsValidator

protected ContactsValidator(Contacts contacts,
                            boolean throwOnFirst)
ContactsValidator constructor.

Parameters:
contacts - The Contacts 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 ContactsException
Validates a Contacts.

Throws:
ContactsException - if a Contacts anomaly has been detected

validateContact

public void validateContact(Contact contact)
                     throws ContactsException
ContactsException

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.