Package | Description |
---|---|
org.yaml.snakeyaml.comments | |
org.yaml.snakeyaml.events | |
org.yaml.snakeyaml.tokens |
Modifier and Type | Method and Description |
---|---|
CommentType |
CommentLine.getCommentType() |
static CommentType |
CommentType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommentType[] |
CommentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
CommentEventsCollector(Parser parser,
CommentType... expectedCommentTypes)
Constructor used to collect comment events emitted by a Parser.
|
CommentEventsCollector(java.util.Queue<Event> eventSource,
CommentType... expectedCommentTypes)
Constructor used to collect events emitted by the Serializer.
|
CommentLine(Mark startMark,
Mark endMark,
java.lang.String value,
CommentType commentType) |
Modifier and Type | Method and Description |
---|---|
CommentType |
CommentEvent.getCommentType()
The comment type.
|
Constructor and Description |
---|
CommentEvent(CommentType type,
java.lang.String value,
Mark startMark,
Mark endMark) |
Modifier and Type | Method and Description |
---|---|
CommentType |
CommentToken.getCommentType() |
Constructor and Description |
---|
CommentToken(CommentType type,
java.lang.String value,
Mark startMark,
Mark endMark) |
Copyright © 2008–2023. All rights reserved.