org.apache.myfaces.extensions.validator.core.validation.parameter
Class DefaultValidationParameterFactory
java.lang.Object
org.apache.myfaces.extensions.validator.core.validation.parameter.DefaultValidationParameterFactory
- All Implemented Interfaces:
- ClassMappingFactory<Class,Class>
public class DefaultValidationParameterFactory
- extends Object
- implements ClassMappingFactory<Class,Class>
maps internal parameters to optionally available custom parameters
- Since:
- x.x.3
- Author:
- Gerhard Petracek
Method Summary |
Class |
create(Class source)
Creates an instance of the target type based on the source type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValidationParameterFactory
public DefaultValidationParameterFactory()
create
public Class create(Class source)
- Description copied from interface:
ClassMappingFactory
- Creates an instance of the target type based on the source type.
Example:
DefaultMetaDataTransformerFactory
creates a MetaDataTransformer
for a given ValidationStrategy
.
- Specified by:
create
in interface ClassMappingFactory<Class,Class>
- Parameters:
source
- source object
- Returns:
- target object.
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.