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() |
equals, getEndMark, getEventId, getStartMark, hashCode, isEvent
public Optional<String> getTag()
null
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 © 2019 Hazelcast, Inc.. All rights reserved.