org.apache.myfaces.extensions.validator.trinidad.storage.mapper
Class DefaultClientValidatorStorageNameMapper

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

@InvocationOrder(value=300)
public class DefaultClientValidatorStorageNameMapper
extends Object
implements NameMapper<String>

use a public class to allow optional deregistration

Since:
x.x.3

Constructor Summary
DefaultClientValidatorStorageNameMapper()
           
 
Method Summary
 String createName(String source)
          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

DefaultClientValidatorStorageNameMapper

public DefaultClientValidatorStorageNameMapper()
Method Detail

createName

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