public abstract class CollectionStartEvent extends NodeEvent
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
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) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getArguments() |
java.lang.Boolean |
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.
|
equals, getEndMark, getStartMark, hashCode, is, toString
private final java.lang.String tag
private final boolean implicit
private final java.lang.Boolean 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 java.lang.Boolean getFlowStyle()
true
if this collection is in flow style, false
for block style.protected java.lang.String getArguments()
getArguments
in class NodeEvent