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()trueif this collection is in flow style,falsefor block style. | 
| boolean | getImplicit()trueif the tag can be omitted while this collection is
 emitted. | 
| String | getTag()Tag of this collection. | 
| boolean | isFlow() | 
equals, getEndMark, getEventId, getStartMark, hashCode, is, toStringpublic 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()
EventgetArguments in class NodeEventpublic boolean isFlow()
Copyright © 2008–2021. All rights reserved.