Package org.yaml.snakeyaml.comments
Class CommentLine
java.lang.Object
org.yaml.snakeyaml.comments.CommentLine
A comment line. It may be a block comment, blank line, or inline comment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CommentTypeprivate final Markprivate final Markprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionCommentLine(Mark startMark, Mark endMark, String value, CommentType commentType) CreateCommentLine(CommentEvent event) Create -
Method Summary
-
Field Details
-
startMark
-
endMark
-
value
-
commentType
-
-
Constructor Details
-
CommentLine
Create- Parameters:
event- - the source
-
CommentLine
Create- Parameters:
startMark- - startendMark- - endvalue- - textcommentType- - kind
-
-
Method Details