Package org.snakeyaml.engine.v2.nodes
Class CollectionNode<T>
java.lang.Object
org.snakeyaml.engine.v2.nodes.Node
org.snakeyaml.engine.v2.nodes.CollectionNode<T>
- Direct Known Subclasses:
MappingNode
,SequenceNode
Base class for the two collection types
mapping
and collection
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSerialization style of this collection.getValue()
Returns the elements in this sequence.void
setEndMark
(Optional<Mark> endMark) void
setFlowStyle
(FlowStyle flowStyle) Methods inherited from class org.snakeyaml.engine.v2.nodes.Node
equals, getAnchor, getBlockComments, getEndComments, getEndMark, getInLineComments, getNodeType, getProperty, getStartMark, getTag, hashCode, isRecursive, setAnchor, setBlockComments, setEndComments, setInLineComments, setProperty, setRecursive, setTag
-
Field Details
-
flowStyle
-
-
Constructor Details
-
CollectionNode
-
-
Method Details
-
getValue
Returns the elements in this sequence.- Returns:
- Nodes in the specified order.
-
getFlowStyle
Serialization style of this collection.- Returns:
true
for flow style,false
for block style.
-
setFlowStyle
-
setEndMark
-