public abstract class CollectionStartEvent extends NodeEvent
Constructor and Description |
---|
CollectionStartEvent(String anchor,
String tag,
boolean implicit,
Mark startMark,
Mark endMark,
Boolean flowStyle)
Deprecated.
|
CollectionStartEvent(String anchor,
String tag,
boolean implicit,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
Modifier and Type | Method and Description |
---|---|
protected 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. |
String |
getTag()
Tag of this collection.
|
boolean |
isFlow() |
equals, getEndMark, getStartMark, hashCode, is, toString
public CollectionStartEvent(String anchor, String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
public 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 String getArguments()
Event
getArguments
in class NodeEvent
public boolean isFlow()
Copyright © 2008–2019. All rights reserved.