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

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

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

use a public class to allow optional deregistration

Since:
x.x.3
Author:
Gerhard Petracek

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

DefaultViolationSeverityInterpreterStorageNameMapper

public DefaultViolationSeverityInterpreterStorageNameMapper()
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.