org.apache.myfaces.extensions.validator.core.validation.strategy.mapper
Class DefaultAnnotationToValidationStrategyNameMapper

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.validation.strategy.mapper.AbstractMetaDataToValidationStrategyNameMapper
      extended by org.apache.myfaces.extensions.validator.core.validation.strategy.mapper.DefaultAnnotationToValidationStrategyNameMapper
All Implemented Interfaces:
NameMapper<String>

@InvocationOrder(value=300)
public class DefaultAnnotationToValidationStrategyNameMapper
extends AbstractMetaDataToValidationStrategyNameMapper

Default implementation which maps ExtVal Annotations to ExtVal ValidationStrategies.

Since:
1.x.1

Field Summary
 
Fields inherited from class org.apache.myfaces.extensions.validator.core.validation.strategy.mapper.AbstractMetaDataToValidationStrategyNameMapper
logger
 
Constructor Summary
DefaultAnnotationToValidationStrategyNameMapper()
           
 
Method Summary
 String createName(String metaDataKey)
          Returns the name of the target resource for the given source or null if the implementations isn't responsible to map the given instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnnotationToValidationStrategyNameMapper

public DefaultAnnotationToValidationStrategyNameMapper()
Method Detail

createName

public String createName(String metaDataKey)
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:
metaDataKey - Object for which the name must be created.
Returns:
name of the target resource or null if the source isn't supported.


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.