org.apache.myfaces.extensions.validator.core.validation.message.resolver.mapper
Class DefaultValidationStrategyToMsgResolverNameMapper
java.lang.Object
org.apache.myfaces.extensions.validator.core.validation.message.resolver.mapper.AbstractValidationStrategyToMsgResolverNameMapper
org.apache.myfaces.extensions.validator.core.validation.message.resolver.mapper.DefaultValidationStrategyToMsgResolverNameMapper
- All Implemented Interfaces:
- NameMapper<ValidationStrategy>
- Direct Known Subclasses:
- DefaultModuleValidationStrategyToMsgResolverNameMapper, SimpleValidationStrategyToMsgResolverNameMapper
@InvocationOrder(value=300)
public class DefaultValidationStrategyToMsgResolverNameMapper
- extends AbstractValidationStrategyToMsgResolverNameMapper
Default implementation which maps ExtVal ValidationStrategies to ExtVal MessageResolvers.
- Since:
- 1.x.1
- Author:
- Gerhard Petracek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValidationStrategyToMsgResolverNameMapper
public DefaultValidationStrategyToMsgResolverNameMapper()
createName
public String createName(ValidationStrategy validationStrategy)
- Description copied from interface:
NameMapper
- Returns the name of the target resource for the given source or null if the implementations isn't responsible
to map the given instance.
- Parameters:
validationStrategy
- Object for which the name must be created.
- Returns:
- name of the target resource or null if the source isn't supported.
getClassName
protected String getClassName(String strategyClassName)
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.