public class EnumerationConverter<T extends Term> extends Object implements ToTermConverter<Enumeration<?>,T>, FromTermConverter<T,Enumeration<?>>
Constructor and Description |
---|
EnumerationConverter() |
Modifier and Type | Method and Description |
---|---|
Enumeration<?> |
fromTerm(T listTerm,
Type type,
Jpc context) |
T |
toTerm(Enumeration<?> en,
Class<T> termClass,
Jpc context) |
public T toTerm(Enumeration<?> en, Class<T> termClass, Jpc context)
toTerm
in interface ToTermConverter<Enumeration<?>,T extends Term>
public Enumeration<?> fromTerm(T listTerm, Type type, Jpc context)
fromTerm
in interface FromTermConverter<T extends Term,Enumeration<?>>
Copyright © 2014. All rights reserved.