Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class CategoryBagValidator

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

public class CategoryBagValidator
extends java.lang.Object

CategoryBag validator.

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

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

Field Detail

categoryBag

protected CategoryBag categoryBag
The CategoryBag 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

CategoryBagValidator

protected CategoryBagValidator()
CategoryBagValidator default constructor.


CategoryBagValidator

protected CategoryBagValidator(CategoryBag categoryBag,
                               boolean throwOnFirst)
CategoryBagValidator constructor.

Parameters:
categoryBag - The CategoryBag 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 CategoryBagException
Validates an CategoryBag.

Throws:
CategoryBagException - if a CategoryBag anomaly has been detected

validateKeyedReference

public void validateKeyedReference(KeyedReference keyedReference)
                            throws CategoryBagException
CategoryBagException

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.