public abstract class CollectionStartEvent extends NodeEvent
Modifier and Type | Field and Description |
---|---|
private DumperOptions.FlowStyle |
flowStyle |
private boolean |
implicit |
private java.lang.String |
tag |
Constructor and Description |
---|
CollectionStartEvent(java.lang.String anchor,
java.lang.String tag,
boolean implicit,
Mark startMark,
Mark endMark,
java.lang.Boolean flowStyle)
Deprecated.
|
CollectionStartEvent(java.lang.String anchor,
java.lang.String tag,
boolean implicit,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getArguments()
Generate human readable representation of the Event
|
DumperOptions.FlowStyle |
getFlowStyle()
true if this collection is in flow style, false for block style. |
boolean |
getImplicit()
true if the tag can be omitted while this collection is emitted. |
java.lang.String |
getTag()
Tag of this collection.
|
boolean |
isFlow() |
equals, getEndMark, getEventId, getStartMark, hashCode, is, toString
private final java.lang.String tag
private final boolean implicit
private final DumperOptions.FlowStyle flowStyle
public CollectionStartEvent(java.lang.String anchor, java.lang.String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
public java.lang.String getTag()
null
if no explicit tag is available.public boolean getImplicit()
true
if the tag can be omitted while this collection is emitted.public DumperOptions.FlowStyle getFlowStyle()
true
if this collection is in flow style, false
for block style.protected java.lang.String getArguments()
Event
getArguments
in class NodeEvent
public boolean isFlow()