Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class KeyedReferenceValidator

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

public class KeyedReferenceValidator
extends java.lang.Object

KeyedReference validator.

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

Field Summary
protected  KeyedReference keyedReference
          The KeyedReference 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 KeyedReferenceValidator()
          KeyedReferenceValidator default constructor.
protected KeyedReferenceValidator(KeyedReference keyedReference, boolean throwOnFirst)
          KeyedReferenceValidator constructor.
 
Method Summary
 void validate()
          Validates an KeyedReference.
 void validateKeyName(java.lang.String keyName)
           
 void validateKeyValue(java.lang.String keyValue)
           
 void validateTModelKey(TModelKey tModelKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyedReference

protected KeyedReference keyedReference
The KeyedReference 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

KeyedReferenceValidator

protected KeyedReferenceValidator()
KeyedReferenceValidator default constructor.


KeyedReferenceValidator

protected KeyedReferenceValidator(KeyedReference keyedReference,
                                  boolean throwOnFirst)
KeyedReferenceValidator constructor.

Parameters:
keyedReference - The Address 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 KeyedReferenceException
Validates an KeyedReference.

Throws:
KeyedReferenceException - if a KeyedReference anomaly has been detected

validateTModelKey

public void validateTModelKey(TModelKey tModelKey)
                       throws KeyedReferenceException
KeyedReferenceException

validateKeyName

public void validateKeyName(java.lang.String keyName)
                     throws KeyedReferenceException
KeyedReferenceException

validateKeyValue

public void validateKeyValue(java.lang.String keyValue)
                      throws KeyedReferenceException
KeyedReferenceException

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.