ChainedConvertor.convert

Convert from component to component.

Finds a right convertor from component to component and uses it to execute conversion from component to component.

class ChainedConvertor
override const
Object
convert
(
in Object from
,
const TypeInfo to
,
RCIAllocator allocator = theAllocator
)

Parameters

from Object

typeal component that is to be converted.

to TypeInfo

destination object that will be constructed out for typeal one.

allocator RCIAllocator

optional allocator that could be used to construct to component.

Return Value

Type: Object

Resulting converted component.

Throws

ConvertorException when convertor is not able to convert from, or to component.

Meta