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)
Configurable
setConfiguration
in interface Configurable
resourceConfig
- The component configuration properties.public Properties getConfiguration()
Configurable
getConfiguration
in interface Configurable
public Object decode(String data) throws DataDecodeException
DataDecoder
decode
in interface DataDecoder
data
- Data to be decoded.DataDecodeException
- Error decoding data.public void setStrict(boolean strict)
Copyright © 2020. All rights reserved.