org.schemarepo
Class ValidatorFactory

java.lang.Object
  extended by org.schemarepo.ValidatorFactory

public class ValidatorFactory
extends Object

A factory for mapping Validator names to instantiated instances. Validator names starting with "repo."


Nested Class Summary
static class ValidatorFactory.Builder
           
 
Field Summary
static ValidatorFactory EMPTY
           
static String REJECT_VALIDATOR
           
 
Method Summary
 Set<String> getDefaultSubjectValidators()
           
 List<Validator> getValidators(Set<String> validatorNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REJECT_VALIDATOR

public static final String REJECT_VALIDATOR
See Also:
Constant Field Values

EMPTY

public static final ValidatorFactory EMPTY
Method Detail

getValidators

public final List<Validator> getValidators(Set<String> validatorNames)
Parameters:
validatorNames - The set of Validator names to resolve. Must not be null.
Returns:
A list of Validators. Not null.

getDefaultSubjectValidators

public final Set<String> getDefaultSubjectValidators()


Copyright © 2015. All rights reserved.