Class CommentListUtil


  • public class CommentListUtil
    extends Object
    Contains the utils that are used to handle comments in synapse
    • Constructor Detail

      • CommentListUtil

        public CommentListUtil()
    • Method Detail

      • populateComments

        public static void populateComments​(org.apache.axiom.om.OMElement el,
                                            List<String> commentList)
        Adds comments in Synapse to a list of comments
        Parameters:
        el - OMElement containing the comments
        commentList - List to be which the comments should be added to
      • serializeComments

        public static void serializeComments​(org.apache.axiom.om.OMElement parent,
                                             List<String> commentList)
        Serialize string comment entries from a List
        Parameters:
        parent - OMElement to be updated
        commentList - List of comment entries to be serialized