org.ocpsoft.rewrite.instance
Class DefaultValidatorProvider
java.lang.Object
org.ocpsoft.rewrite.instance.DefaultValidatorProvider
- All Implemented Interfaces:
- org.ocpsoft.common.pattern.Weighted, ValidatorProvider
public class DefaultValidatorProvider
- extends Object
- implements ValidatorProvider
Default implementation of ValidatorProvider which allows to use Rewrite Validator implementations by
their type.
- Author:
- Christian Kaltepoth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValidatorProvider
public DefaultValidatorProvider()
getByValidatorType
public Validator<?> getByValidatorType(Class<?> validatorType)
- Specified by:
getByValidatorType in interface ValidatorProvider
getByTargetType
public Validator<?> getByTargetType(Class<?> targetType)
- Specified by:
getByTargetType in interface ValidatorProvider
getByValidatorId
public Validator<?> getByValidatorId(String id)
- Specified by:
getByValidatorId in interface ValidatorProvider
priority
public int priority()
- Specified by:
priority in interface org.ocpsoft.common.pattern.Weighted
Copyright © 2013 OCPsoft. All Rights Reserved.