Class CommentLine

java.lang.Object
org.yaml.snakeyaml.comments.CommentLine

public class CommentLine extends Object
A comment line. May be a block comment, blank line, or inline comment.
  • Constructor Details

  • Method Details

    • getEndMark

      public Mark getEndMark()
    • getStartMark

      public Mark getStartMark()
    • getCommentType

      public CommentType getCommentType()
    • getValue

      public String getValue()
      Value of this comment.
      Returns:
      comment's value.
    • toString

      public String toString()
      Overrides:
      toString in class Object