Class CollectionNode<T>

    • Constructor Detail

      • CollectionNode

        public CollectionNode​(Tag tag,
                              FlowStyle flowStyle,
                              java.util.Optional<Mark> startMark,
                              java.util.Optional<Mark> endMark)
    • Method Detail

      • getValue

        public abstract java.util.List<T> getValue()
        Returns the elements in this sequence.
        Returns:
        Nodes in the specified order.
      • getFlowStyle

        public FlowStyle getFlowStyle()
        Serialization style of this collection.
        Returns:
        true for flow style, false for block style.
      • setFlowStyle

        public void setFlowStyle​(FlowStyle flowStyle)
      • setEndMark

        public void setEndMark​(java.util.Optional<Mark> endMark)