CombinedConvertorImpl.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 CombinedConvertorImpl
const
Object
convert
(
in Object from
,
const TypeInfo to
,
RCIAllocator allocator = theAllocator
)

Parameters

from Object

original component that is to be converted.

to TypeInfo

destination object that will be constructed out for original 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