public class EnumCaseForgivingConverter
extends com.thoughtworks.xstream.converters.enums.EnumConverter
Constructor and Description |
---|
EnumCaseForgivingConverter() |
Modifier and Type | Method and Description |
---|---|
static <T extends java.lang.Enum<T>> |
resolve(java.lang.Class<T> type,
java.lang.String token) |
java.lang.Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
unmarshal
in class com.thoughtworks.xstream.converters.enums.EnumConverter
public static <T extends java.lang.Enum<T>> T resolve(java.lang.Class<T> type, java.lang.String token)