public class MappingDecoder extends Object implements DataDecoder, Configurable
DataDecoder.Factory| Constructor and Description |
|---|
MappingDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(String data)
Decode the supplied String data into a new Object data instance.
|
Properties |
getConfiguration()
Get the component configuration.
|
void |
setConfiguration(Properties resourceConfig)
Set the component configuration.
|
void |
setStrict(boolean strict) |
public void setConfiguration(Properties resourceConfig)
ConfigurablesetConfiguration in interface ConfigurableresourceConfig - The component configuration properties.public Properties getConfiguration()
ConfigurablegetConfiguration in interface Configurablepublic Object decode(String data) throws DataDecodeException
DataDecoderdecode in interface DataDecoderdata - Data to be decoded.DataDecodeException - Error decoding data.public void setStrict(boolean strict)
Copyright © 2020. All rights reserved.