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() |
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, toString
public String getTag()
null
if no explicit tag
is available.public Character getStyle()
http://yaml.org/spec/1.1/#id864487
public String getValue()
Without quotes and escaping.
public ImplicitTuple getImplicit()
protected String getArguments()
getArguments
in class NodeEvent
for Event in PyYAML
Copyright © 2008-2012. All Rights Reserved.