public class ValidatorFactory
extends java.lang.Object
ValidatorFactory
is used to create the Validation Objects.Constructor and Description |
---|
ValidatorFactory() |
Modifier and Type | Method and Description |
---|---|
static Validator |
getExtendedValidator(Transaction transaction)
Returns a Extended validator object for a specified transaction
|
static Validator |
getValidator(Transaction transaction)
Returns a Basic validator object for a specified transaction
|
public static Validator getValidator(Transaction transaction) throws UnableToInstantiateClassException
transaction
- UnableToInstantiateClassException
- if the class is not availablepublic static Validator getExtendedValidator(Transaction transaction) throws UnableToInstantiateClassException
transaction
- UnableToInstantiateClassException
- if the class is not available