public abstract class CollectionNode<T> extends Node
mapping and
collection.| Constructor and Description |
|---|
CollectionNode(Tag tag,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
| Modifier and Type | Method and Description |
|---|---|
FlowStyle |
getFlowStyle()
Serialization style of this collection.
|
abstract List<T> |
getValue()
Returns the elements in this sequence.
|
void |
setEndMark(Optional<Mark> endMark) |
void |
setFlowStyle(FlowStyle flowStyle) |
equals, getAnchor, getEndMark, getNodeType, getProperty, getStartMark, getTag, hashCode, isRecursive, setAnchor, setProperty, setRecursive, setTagpublic abstract List<T> getValue()
public FlowStyle getFlowStyle()
true for flow style, false for block
style.public void setFlowStyle(FlowStyle flowStyle)
Copyright © 2018–2019. All rights reserved.