COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.core
Class ValidationFactory

java.lang.Object
  extended by org.eclipse.cosmos.rm.validation.internal.core.ValidationFactory

public class ValidationFactory
extends java.lang.Object

This factory class is used to create the different validators that will be used as part of the validation process.


Constructor Summary
ValidationFactory()
           
 
Method Summary
static IValidator[] createValidator(java.lang.Class classType, java.lang.Object classes)
          Constructs and returns a set of validators based on the class type and the classes passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationFactory

public ValidationFactory()
Method Detail

createValidator

public static IValidator[] createValidator(java.lang.Class classType,
                                           java.lang.Object classes)
                                    throws java.lang.InstantiationException,
                                           java.lang.IllegalAccessException,
                                           java.lang.ClassNotFoundException
Constructs and returns a set of validators based on the class type and the classes passed in.

Parameters:
classType - The class type of the validator
classes - The validator classes that should be used
Returns:
A set of validators corresponding to the class type and attributes passed in.
Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification