MappingNode
, SequenceNode
public abstract class CollectionNode<T> extends Node
mapping
and
collection
.endMark, resolved, useClassConstructor
Constructor | Description |
---|---|
CollectionNode(Tag tag,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
Modifier and Type | Method | Description |
---|---|---|
DumperOptions.FlowStyle |
getFlowStyle() |
Serialization style of this collection.
|
abstract List<T> |
getValue() |
Returns the elements in this sequence.
|
void |
setEndMark(Mark endMark) |
|
void |
setFlowStyle(DumperOptions.FlowStyle flowStyle) |
equals, getEndMark, getNodeId, getStartMark, getTag, getType, hashCode, isTwoStepsConstruction, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructor
public CollectionNode(Tag tag, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
public abstract List<T> getValue()
public DumperOptions.FlowStyle getFlowStyle()
true
for flow style, false
for block
style.public void setFlowStyle(DumperOptions.FlowStyle flowStyle)
public void setEndMark(Mark endMark)
Copyright © 2008–2018. All rights reserved.