br.com.caelum.iogi.conversion
Class EnumConverter

java.lang.Object
  extended by br.com.caelum.iogi.conversion.TypeConverter<Object>
      extended by br.com.caelum.iogi.conversion.EnumConverter
All Implemented Interfaces:
Instantiator<Object>

public class EnumConverter
extends TypeConverter<Object>


Constructor Summary
EnumConverter()
           
 
Method Summary
protected  Object convert(String stringValue, Target<?> to)
           
 boolean isAbleToInstantiate(Target<?> target)
           
 
Methods inherited from class br.com.caelum.iogi.conversion.TypeConverter
instantiate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumConverter

public EnumConverter()
Method Detail

isAbleToInstantiate

public boolean isAbleToInstantiate(Target<?> target)

convert

protected Object convert(String stringValue,
                         Target<?> to)
Specified by:
convert in class TypeConverter<Object>


Copyright © 2014. All Rights Reserved.