org.apache.bval.jsr303.util
Class EnumerationConverter

java.lang.Object
  extended by 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 962601 2010-07-09 16:31:15Z carlosvara $


Method Summary
 Object convert(Class type, Object value)
          
static EnumerationConverter getInstance()
          Returns this converter instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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-2011 The Apache Software Foundation. All Rights Reserved.