Interface CMSDataMapper

All Superinterfaces:
DataMapper
All Known Implementing Classes:
DefaultCMSDataMapper

public interface CMSDataMapper extends DataMapper
Interface to convert a source cms object to a JSON or XML using jaxb.
  • Method Details

    • map

      Object map(Object data, String fields)
      Method to convert a source object to a target object using jaxb.
      Parameters:
      data - the source object
      fields - the list of fields to populate in the target object
      Returns:
      the target object