public final class ScalarEvent extends NodeEvent
Constructor and Description |
---|
ScalarEvent(String anchor,
String tag,
ImplicitTuple implicit,
String value,
Mark startMark,
Mark endMark,
DumperOptions.ScalarStyle style) |
Modifier and Type | Method and Description |
---|---|
protected String |
getArguments()
Generate human readable representation of the Event
|
ImplicitTuple |
getImplicit() |
DumperOptions.ScalarStyle |
getStyle()
Style of the scalar.
|
String |
getTag()
Tag of this scalar.
|
String |
getValue()
String representation of the value.
|
boolean |
is(Event.ID id) |
boolean |
isPlain() |
equals, getEndMark, getStartMark, hashCode, toString
public ScalarEvent(String anchor, String tag, ImplicitTuple implicit, String value, Mark startMark, Mark endMark, DumperOptions.ScalarStyle style)
public String getTag()
null
if no explicit tag
is available.public DumperOptions.ScalarStyle getStyle()
public String getValue()
Without quotes and escaping.
public ImplicitTuple getImplicit()
protected String getArguments()
Event
getArguments
in class NodeEvent
public boolean isPlain()
Copyright © 2008–2018. All rights reserved.