public class EnumPropertyConverter extends Object
PropertyConverter
that supports conversion of enumeration
types.PropertyConverter.Context
Constructor and Description |
---|
EnumPropertyConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
convert(String value,
PropertyConverter.Context context) |
String |
getName() |
boolean |
supports(Class<?> type) |
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–2016. All rights reserved.