Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class DiscoveryURLsValidator

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

public class DiscoveryURLsValidator
extends java.lang.Object

DiscoveryURLs validator.

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

Field Summary
protected  DiscoveryURLs discoveryURLs
          The DiscoveryURLs 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 DiscoveryURLsValidator()
          DiscoveryURLsValidator default constructor.
protected DiscoveryURLsValidator(DiscoveryURLs discoveryURLs, boolean throwOnFirst)
          DiscoveryURLsValidator constructor.
 
Method Summary
 void validate()
          Validates a DiscoveryURLs.
 void validateDiscoveryURL(DiscoveryURL discoveryURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discoveryURLs

protected DiscoveryURLs discoveryURLs
The DiscoveryURLs 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

DiscoveryURLsValidator

protected DiscoveryURLsValidator()
DiscoveryURLsValidator default constructor.


DiscoveryURLsValidator

protected DiscoveryURLsValidator(DiscoveryURLs discoveryURLs,
                                 boolean throwOnFirst)
DiscoveryURLsValidator constructor.

Parameters:
discoveryURLs - The DiscoveryURLs 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 DiscoveryURLsException
Validates a DiscoveryURLs.

Throws:
DiscoveryURLsException - if a DiscoveryURLs anomaly has been detected

validateDiscoveryURL

public void validateDiscoveryURL(DiscoveryURL discoveryURL)
                          throws DiscoveryURLsException
DiscoveryURLsException

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.