public abstract class CollectionStartEvent extends NodeEvent
| Constructor and Description |
|---|
CollectionStartEvent(Optional<Anchor> anchor,
Optional<String> tag,
boolean implicit,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
| Modifier and Type | Method and Description |
|---|---|
FlowStyle |
getFlowStyle()
true if this collection is in flow style, false
for block style. |
Optional<String> |
getTag()
Tag of this collection.
|
boolean |
isFlow() |
boolean |
isImplicit()
true if the tag can be omitted while this collection is
emitted. |
String |
toString() |
getEndMark, getEventId, getStartMarkpublic Optional<String> getTag()
empty if no explicit tag is available.public boolean isImplicit()
true if the tag can be omitted while this collection is
emitted.public FlowStyle getFlowStyle()
true if this collection is in flow style, false
for block style.public boolean isFlow()
Copyright © 2018–2022. All rights reserved.