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
|
Event.ID |
getEventId()
Get the type (kind) if this 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 |
isPlain() |
equals, getEndMark, getStartMark, hashCode, is, 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 Event.ID getEventId()
Event
getEventId
in class Event
public boolean isPlain()
Copyright © 2008–2021. All rights reserved.