public class SequenceNode extends CollectionNode<Node>
A sequence is a ordered collection of nodes.
Modifier and Type | Field and Description |
---|---|
private java.util.List<Node> |
value |
endMark, resolved, useClassConstructor
Constructor and Description |
---|
SequenceNode(Tag tag,
boolean resolved,
java.util.List<Node> value,
Mark startMark,
Mark endMark,
java.lang.Boolean style)
Deprecated.
|
SequenceNode(Tag tag,
boolean resolved,
java.util.List<Node> value,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
SequenceNode(Tag tag,
java.util.List<Node> value,
java.lang.Boolean style)
Deprecated.
|
SequenceNode(Tag tag,
java.util.List<Node> value,
DumperOptions.FlowStyle flowStyle) |
Modifier and Type | Method and Description |
---|---|
NodeId |
getNodeId()
For error reporting.
|
java.util.List<Node> |
getValue()
Returns the elements in this sequence.
|
void |
setListType(java.lang.Class<? extends java.lang.Object> listType) |
java.lang.String |
toString() |
getFlowStyle, setEndMark, setFlowStyle, setFlowStyle
equals, getAnchor, getBlockComments, getEndComments, getEndMark, getInLineComments, getStartMark, getTag, getType, hashCode, isResolved, isTwoStepsConstruction, setAnchor, setBlockComments, setEndComments, setInLineComments, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructor
private final java.util.List<Node> value
public SequenceNode(Tag tag, boolean resolved, java.util.List<Node> value, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
public SequenceNode(Tag tag, java.util.List<Node> value, DumperOptions.FlowStyle flowStyle)
@Deprecated public SequenceNode(Tag tag, java.util.List<Node> value, java.lang.Boolean style)
public java.util.List<Node> getValue()
getValue
in class CollectionNode<Node>
public void setListType(java.lang.Class<? extends java.lang.Object> listType)
public java.lang.String toString()
toString
in class java.lang.Object