public abstract class ConverterEnumTemplate extends ConverterEnum
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
template
Template parameters.
|
ARG_SIZE| Constructor and Description |
|---|
ConverterEnumTemplate(Class<? extends Enum<?>> type,
String lookupMethod)
Conversion of specific types.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object obj,
Object[] args)
Convert a given object to another using some arguments as auxiliary.
|
convertData, recoverType, recoverValueacceptinitializeprotected Object[] template
public Object convert(Object obj, Object[] args) throws ConverterException
IConverterconvert in interface IConverterconvert in class ConverterEnumobj - The value to be converted.args - The arguments.ConverterException - On conversion errors.Copyright © 2016. All rights reserved.