org.apache.bval.jsr303.util
Class EnumerationConverter
java.lang.Object
org.apache.bval.jsr303.util.EnumerationConverter
- All Implemented Interfaces:
- org.apache.commons.beanutils.Converter
public final class EnumerationConverter
- extends Object
- implements org.apache.commons.beanutils.Converter
A org.apache.commons.beanutils.Converter
implementation to handle
Enumeration type.
$Id: EnumerationConverter.java 1226560 2012-01-02 22:18:19Z mbenson $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static EnumerationConverter getInstance()
- Returns this converter instance.
- Returns:
- this converter instance.
convert
public Object convert(Class type,
Object value)
-
- Specified by:
convert
in interface org.apache.commons.beanutils.Converter
Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.