Package org.chenile.core.transform
package org.chenile.core.transform
The Chenile transformation framework that transforms JSON to Object.
-
ClassDescriptionSubclassBodyTypeSelector 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 classVehicle
which is subclassed by Car.Determines the target type for the body of the ChenileExchange and populates that intoChenileExchange.getBodyType()
Uses registered bodyTypeSelectors either atChenileServiceDefinition
orOperationDefinition
Performs a transformation from JSON to theChenileExchange.getBodyType()
mentioned in theChenileExchange