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 Detail

      • map

        java.lang.Object map​(java.lang.Object data,
                             java.lang.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