public class ConverterEnumValue extends ConverterEnum implements IConverterReverse
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ARG_SIZE
Expected arguments size.
|
| Constructor and Description |
|---|
ConverterEnumValue() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object obj,
Object[] args)
Convert a given object to another using some arguments as auxiliary.
|
protected Object |
convertData(Object obj,
Object[] args)
Process a value.
|
Object |
revert(Object obj,
Object[] args)
Revert a given object to another using some arguments as auxiliary.
|
recoverType, recoverValueacceptinitializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptinitializeprotected static final int ARG_SIZE
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.public Object revert(Object obj, Object[] args) throws ConverterException
IConverterReverserevert in interface IConverterReverseobj - The value to be reverted.args - The arguments.ConverterException - On conversion errors.protected Object convertData(Object obj, Object[] args) throws ConverterException
convertData in class ConverterEnumobj - Value.args - Arguments.ConverterException - On processing errors.Copyright © 2016. All rights reserved.