Class MFSerializer


  • @Deprecated
    public class MFSerializer
    extends Object
    Deprecated.
    This API is for technology preview only.
    This class serializes a MessageFormat 2 data model MFDataModel.Message to a string, with the proper MessageFormat 2 syntax.
    Status:
    Technology Preview. This API is still in the early stages of development. Use at your own risk.
    • Constructor Detail

      • MFSerializer

        @Deprecated
        public MFSerializer()
        Deprecated.
        This API is for technology preview only.
        Status:
        Technology Preview. This API is still in the early stages of development. Use at your own risk.
    • Method Detail

      • dataModelToString

        @Deprecated
        public static String dataModelToString​(MFDataModel.Message message)
        Deprecated.
        This API is for technology preview only.
        Method converting the MFDataModel.Message to a string in MessageFormat 2 syntax.

        The result is not necessarily identical with the original string parsed to generate the data model. But is is functionally equivalent.

        Parameters:
        message - the data model message to serialize
        Returns:
        the serialized message, in MessageFormat 2 syntax
        Status:
        Technology Preview. This API is still in the early stages of development. Use at your own risk.