Class SequenceNode
Represents a sequence.
A sequence is a ordered collection of nodes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CollectionNode
getFlowStyle, setEndMark, setFlowStyleMethods inherited from class Node
equals, getAnchor, getBlockComments, getEndComments, getEndMark, getInLineComments, getProperty, getStartMark, getTag, hashCode, isRecursive, setAnchor, setBlockComments, setEndComments, setInLineComments, setProperty, setRecursive, setTag
-
Field Details
-
value
-
-
Constructor Details
-
SequenceNode
-
SequenceNode
-
-
Method Details
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- scalar, sequence, mapping
-
getValue
Returns the elements in this sequence.- Specified by:
getValuein classCollectionNode<Node>- Returns:
- Nodes in the specified order.
-
toString
-