org.apache.myfaces.extensions.validator.core.storage.mapper
Class DefaultFacesInformationStorageNameMapper

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

@InvocationOrder(value=100)
public class DefaultFacesInformationStorageNameMapper
extends Object
implements NameMapper<String>

use a public class to allow optional deregistration

Since:
x.x.3
Author:
Gerhard Petracek

Constructor Summary
DefaultFacesInformationStorageNameMapper()
           
 
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

DefaultFacesInformationStorageNameMapper

public DefaultFacesInformationStorageNameMapper()
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-2010 The Apache Software Foundation. All Rights Reserved.