Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class PublisherAssertionValidator

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

public class PublisherAssertionValidator
extends java.lang.Object

PublisherAssertion validator.

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

Field Summary
protected  PublisherAssertion publisherAssertion
          The PublisherAssertion 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 PublisherAssertionValidator()
          PublisherAssertionValidator default constructor.
protected PublisherAssertionValidator(PublisherAssertion publisherAssertion, boolean throwOnFirst)
          PublisherAssertionValidator constructor.
 
Method Summary
 void validate()
          Validates a PublisherAssertion.
 void validateFromKey(FromKey fromKey)
           
 void validateKeyedReference(KeyedReference keyedReference)
           
 void validateToKey(ToKey toKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

publisherAssertion

protected PublisherAssertion publisherAssertion
The PublisherAssertion 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

PublisherAssertionValidator

protected PublisherAssertionValidator()
PublisherAssertionValidator default constructor.


PublisherAssertionValidator

protected PublisherAssertionValidator(PublisherAssertion publisherAssertion,
                                      boolean throwOnFirst)
PublisherAssertionValidator constructor.

Parameters:
publisherAssertion - The PublisherAssertion 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 PublisherAssertionException
Validates a PublisherAssertion.

Throws:
PublisherAssertionException - if a PublisherAssertion anomaly has been detected

validateFromKey

public void validateFromKey(FromKey fromKey)
                     throws PublisherAssertionException
PublisherAssertionException

validateToKey

public void validateToKey(ToKey toKey)
                   throws PublisherAssertionException
PublisherAssertionException

validateKeyedReference

public void validateKeyedReference(KeyedReference keyedReference)
                            throws PublisherAssertionException
PublisherAssertionException

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.