org.apache.myfaces.extensions.validator.beanval.storage.mapper
Class ModelValidationStorageNameMapper

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.beanval.storage.mapper.ModelValidationStorageNameMapper
All Implemented Interfaces:
NameMapper<String>

@InvocationOrder(value=200)
public class ModelValidationStorageNameMapper
extends Object
implements NameMapper<String>

Since:
x.x.3

Constructor Summary
ModelValidationStorageNameMapper()
           
 
Method Summary
 String createName(String key)
          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

ModelValidationStorageNameMapper

public ModelValidationStorageNameMapper()
Method Detail

createName

public String createName(String key)
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.

Specified by:
createName in interface NameMapper<String>
Parameters:
key - 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.