Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class DiscoveryURLValidator

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

public class DiscoveryURLValidator
extends java.lang.Object

DiscoveryURL validator.

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

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

Field Detail

discoveryURL

protected DiscoveryURL discoveryURL
The DiscoveryURL 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

DiscoveryURLValidator

protected DiscoveryURLValidator()
DiscoveryURLValidator default constructor.


DiscoveryURLValidator

protected DiscoveryURLValidator(DiscoveryURL discoveryURL,
                                boolean throwOnFirst)
DiscoveryURLValidator constructor.

Parameters:
discoveryURL - The DiscoveryURL 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 DiscoveryURLException
Validates a DiscoveryURL.

Throws:
DiscoveryURLException - if a DiscoveryURL anomaly has been detected

validateDiscoveryURL

public void validateDiscoveryURL(java.lang.String discoveryURL)
                          throws DiscoveryURLException
DiscoveryURLException

validateUseType

public void validateUseType(UseType useType)
                     throws DiscoveryURLException
DiscoveryURLException

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.