Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class IdentifierBagValidator

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

public class IdentifierBagValidator
extends java.lang.Object

IdentifierBag validator.

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

Field Summary
protected  IdentifierBag identifierBag
          The IdentifierBag 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 IdentifierBagValidator()
          IdentifierBagValidator default constructor.
protected IdentifierBagValidator(IdentifierBag identifierBag, boolean throwOnFirst)
          IdentifierBagValidator constructor.
 
Method Summary
 void validate()
          Validates an IdentifierBag.
 void validateKeyedReference(KeyedReference keyedReference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifierBag

protected IdentifierBag identifierBag
The IdentifierBag 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

IdentifierBagValidator

protected IdentifierBagValidator()
IdentifierBagValidator default constructor.


IdentifierBagValidator

protected IdentifierBagValidator(IdentifierBag identifierBag,
                                 boolean throwOnFirst)
IdentifierBagValidator constructor.

Parameters:
identifierBag - The IdentifierBag 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 IdentifierBagException
Validates an IdentifierBag.

Throws:
IdentifierBagException - if a IdentifierBag anomaly has been detected

validateKeyedReference

public void validateKeyedReference(KeyedReference keyedReference)
                            throws IdentifierBagException
IdentifierBagException

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.