Class CommentEvent
java.lang.Object
org.snakeyaml.engine.v2.events.Event
org.snakeyaml.engine.v2.events.CommentEvent
Marks a comment block value.
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommentEvent(CommentType type, String value, Optional<Mark> startMark, Optional<Mark> endMark) -
Method Summary
Methods inherited from class Event
getEndMark, getStartMark
-
Field Details
-
type
-
value
-
-
Constructor Details
-
CommentEvent
-
-
Method Details
-
getValue
String representation of the value.Without quotes and escaping.
- Returns:
- Value a comment line string without the leading '#' or a blank line.
-
getCommentType
-
getEventId
Description copied from class:EventGet the type (kind) if this Event- Specified by:
getEventIdin classEvent- Returns:
- the ID of this Event
-
toString
-