public class ScalarNode extends Node
Scalar nodes form the leaves in the node graph.
endMark, resolved, useClassConstructor| Constructor and Description |
|---|
ScalarNode(Tag tag,
boolean resolved,
String value,
Mark startMark,
Mark endMark,
DumperOptions.ScalarStyle style) |
ScalarNode(Tag tag,
String value,
Mark startMark,
Mark endMark,
DumperOptions.ScalarStyle style) |
| Modifier and Type | Method and Description |
|---|---|
NodeId |
getNodeId() |
DumperOptions.ScalarStyle |
getStyle()
Get scalar style of this node.
|
String |
getValue()
Value of this scalar.
|
boolean |
isPlain() |
String |
toString() |
equals, getEndMark, getStartMark, getTag, getType, hashCode, isTwoStepsConstruction, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructorpublic ScalarNode(Tag tag, String value, Mark startMark, Mark endMark, DumperOptions.ScalarStyle style)
public ScalarNode(Tag tag, boolean resolved, String value, Mark startMark, Mark endMark, DumperOptions.ScalarStyle style)
public DumperOptions.ScalarStyle getStyle()
ScalarEvent,
Chapter 9. Scalar
Stylespublic NodeId getNodeId()
public String getValue()
public boolean isPlain()
Copyright © 2008–2018. All rights reserved.