Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class BindingTemplateValidator

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

public class BindingTemplateValidator
extends java.lang.Object

BindingTemplate validator.

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

Field Summary
protected  BindingTemplate bindingTemplate
          The BindingTemplate 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 BindingTemplateValidator()
          BindingTemplateValidator default constructor.
protected BindingTemplateValidator(BindingTemplate bindingTemplate, boolean throwOnFirst)
          BindingTemplateValidator constructor.
 
Method Summary
 void validate()
          Validates a BindingTemplate.
 void validateAccessPoint(AccessPoint accessPoint)
          Validates an AccessPoint.
 void validateBindingKey(BindingKey bindingKey)
          Validates the BindingKey.
 void validateDescription(Description description)
          Validates a Description.
 void validateHostingRedirector(HostingRedirector hostingRedirector)
          Validates an HostingRedirector.
 void validateServiceKey(ServiceKey serviceKey)
          Validates the ServiceKey.
 void validateTModelInstanceDetails(TModelInstanceDetails tModelInstanceDetails)
          Validates a TModelInstanceDetails.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bindingTemplate

protected BindingTemplate bindingTemplate
The BindingTemplate 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

BindingTemplateValidator

protected BindingTemplateValidator()
BindingTemplateValidator default constructor.


BindingTemplateValidator

protected BindingTemplateValidator(BindingTemplate bindingTemplate,
                                   boolean throwOnFirst)
BindingTemplateValidator constructor.

Parameters:
bindingTemplate - The BindingTemplate 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 BindingTemplateException
Validates a BindingTemplate.

Throws:
BindingTemplateException - if a BindingTemplate anomaly has been detected

validateBindingKey

public void validateBindingKey(BindingKey bindingKey)
                        throws BindingTemplateException
Validates the BindingKey.

Parameters:
bindingKey - The BindingKey to validate.
Throws:
BindingTemplateException - if a BindingKey anomaly has been detected

validateServiceKey

public void validateServiceKey(ServiceKey serviceKey)
                        throws BindingTemplateException
Validates the ServiceKey.

Parameters:
serviceKey - The ServiceKey to validate.
Throws:
BindingTemplateException - if a ServiceKey anomaly has been detected

validateDescription

public void validateDescription(Description description)
                         throws BindingTemplateException
Validates a Description.

Parameters:
description - The Description to validate.
Throws:
BindingTemplateException - if a Description anomaly has been detected

validateAccessPoint

public void validateAccessPoint(AccessPoint accessPoint)
                         throws BindingTemplateException
Validates an AccessPoint.

Parameters:
accessPoint - The AccessPoint to validate.
Throws:
BindingTemplateException - if an AccessPoint anomaly has been detected

validateHostingRedirector

public void validateHostingRedirector(HostingRedirector hostingRedirector)
                               throws BindingTemplateException
Validates an HostingRedirector.

Parameters:
hostingRedirector - The HostingRedirector to validate.
Throws:
BindingTemplateException - if an HostingRedirector anomaly has been detected

validateTModelInstanceDetails

public void validateTModelInstanceDetails(TModelInstanceDetails tModelInstanceDetails)
                                   throws BindingTemplateException
Validates a TModelInstanceDetails.

Parameters:
tModelInstanceDetails - The TModelInstanceDetails to validate.
Throws:
BindingTemplateException - if an TModelInstanceDetails anomaly has been detected

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.