Class Comments


  • public class Comments
    extends Object
    A set of comments for a model.
    • Constructor Detail

      • Comments

        public Comments​(String[] openTagComment,
                        String[] closeTagComment)
        Creates a new set of comments.
        Parameters:
        openTagComment - the open tag comment.
        closeTagComment - the close tag comment.
    • Method Detail

      • getOpenTagComment

        public String[] getOpenTagComment()
        Returns the open tag comments.
        Returns:
        The open tag comments.
      • getCloseTagComment

        public String[] getCloseTagComment()
        Returns the close tag comments.
        Returns:
        The close tag comments.
      • toString

        public String toString()
        Returns a string representation of the set of comments.
        Overrides:
        toString in class Object
        Returns:
        A string.