public class SequenceNode extends CollectionNode<Node>
A sequence is a ordered collection of nodes.
| Constructor and Description |
|---|
SequenceNode(Tag tag,
boolean resolved,
List<Node> value,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
SequenceNode(Tag tag,
List<Node> value,
FlowStyle flowStyle) |
| Modifier and Type | Method and Description |
|---|---|
NodeType |
getNodeType() |
List<Node> |
getValue()
Returns the elements in this sequence.
|
String |
toString() |
getFlowStyle, setEndMark, setFlowStyleequals, getAnchor, getBlockComments, getEndComments, getEndMark, getInLineComments, getProperty, getStartMark, getTag, hashCode, isRecursive, setAnchor, setBlockComments, setEndComments, setInLineComments, setProperty, setRecursive, setTagpublic SequenceNode(Tag tag, boolean resolved, List<Node> value, FlowStyle flowStyle, Optional<Mark> startMark, Optional<Mark> endMark)
public NodeType getNodeType()
getNodeType in class Nodepublic List<Node> getValue()
getValue in class CollectionNode<Node>Copyright © 2018–2022. All rights reserved.