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.voidsetEndMark(Optional<Mark> endMark) voidsetFlowStyle(FlowStyle flowStyle) Methods inherited from class 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
-
getFlowStyle
Serialization style of this collection.- Returns:
truefor flow style,falsefor block style.
-
setFlowStyle
-
setEndMark
-