org.eclipse.cosmos.rm.validation.internal.core
Class ValidationFactory
java.lang.Object
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.
|
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 |
ValidationFactory
public ValidationFactory()
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 validatorclasses - 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