public final class ScalarEvent extends NodeEvent
Constructor and Description |
---|
ScalarEvent(String anchor,
String tag,
ImplicitTuple implicit,
String value,
Mark startMark,
Mark endMark,
Character style)
Deprecated.
|
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 |
getScalarStyle()
Style of the scalar.
|
Character |
getStyle()
Deprecated.
use getScalarStyle() instead
|
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)
@Deprecated public ScalarEvent(String anchor, String tag, ImplicitTuple implicit, String value, Mark startMark, Mark endMark, Character style)
public String getTag()
null
if no explicit tag
is available.public DumperOptions.ScalarStyle getScalarStyle()
@Deprecated public Character 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.