public abstract class CollectionNode<T> extends Node
mapping
and collection
.Modifier and Type | Field and Description |
---|---|
private DumperOptions.FlowStyle |
flowStyle |
endMark, resolved, useClassConstructor
Constructor and Description |
---|
CollectionNode(Tag tag,
Mark startMark,
Mark endMark,
java.lang.Boolean flowStyle)
Deprecated.
|
CollectionNode(Tag tag,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
Modifier and Type | Method and Description |
---|---|
DumperOptions.FlowStyle |
getFlowStyle()
Serialization style of this collection.
|
abstract java.util.List<T> |
getValue()
Returns the elements in this sequence.
|
void |
setEndMark(Mark endMark) |
void |
setFlowStyle(java.lang.Boolean flowStyle)
Deprecated.
|
void |
setFlowStyle(DumperOptions.FlowStyle flowStyle) |
equals, getAnchor, getBlockComments, getEndComments, getEndMark, getInLineComments, getNodeId, getStartMark, getTag, getType, hashCode, isResolved, isTwoStepsConstruction, setAnchor, setBlockComments, setEndComments, setInLineComments, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructor
private DumperOptions.FlowStyle flowStyle
public CollectionNode(Tag tag, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
public abstract java.util.List<T> getValue()
public DumperOptions.FlowStyle getFlowStyle()
true
for flow style, false
for block style.public void setFlowStyle(DumperOptions.FlowStyle flowStyle)
@Deprecated public void setFlowStyle(java.lang.Boolean flowStyle)
public void setEndMark(Mark endMark)