public interface PropertyTransformer
PropertyTransformer
converts the input object to the output object. The input object should be left unchanged.Modifier and Type | Interface and Description |
---|---|
static class |
PropertyTransformer.PropertyDescriptor
Describes the property we would like to transform
|
Modifier and Type | Method and Description |
---|---|
Object |
transform(PropertyTransformer.PropertyDescriptor pDescriptor,
String pValue)
Transforms
pValue into an object of the provided pType |
Object transform(PropertyTransformer.PropertyDescriptor pDescriptor, String pValue) throws IllegalArgumentException, BusException
pValue
into an object of the provided pType
pDescriptor
- the PropertyTransformer.PropertyDescriptor
describing the property we want to transform pValue
intopValue
- the object to be transformed, should be left unchangedIllegalArgumentException
- if the input is invalidBusException
- if the transformer cannot do it's job© 1998- 2021 Escenic AS