Package org.chenile.core.transform
package org.chenile.core.transform
The Chenile transformation framework that transforms JSON to Object.
-
ClassesClassDescriptionSubclassBodyTypeSelector uses the Subclass registry to determine the appropriate subclass based on the type to distinguish between subclasses.This is a registry of mapping base classes to the appropriate subclasses.
For example, if there is a base classVehiclewhich is subclassed by Car.Determines the target type for the body of the ChenileExchange and populates that intoChenileExchange.getBodyType()Uses registered bodyTypeSelectors either atChenileServiceDefinitionorOperationDefinitionPerforms a transformation from JSON to theChenileExchange.getBodyType()mentioned in theChenileExchange