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