public class EnumPropertyConverter extends Object
PropertyConverter
that supports conversion of enumeration
types.PropertyConverter.Context
Constructor and Description |
---|
EnumPropertyConverter() |
public boolean supports(Class<?> type)
public Object convert(String value, PropertyConverter.Context context) throws IllegalArgumentException
IllegalArgumentException
public String getName()
getName
in interface PropertyConverter
Copyright © 2014–2015. All rights reserved.