ListBuilderImpl

papyrus.DSL.builders.ListBuilderImpl
case class ListBuilderImpl(items: List[ListElementBuilder], listType: ListType, order: Option[SortingList], reference: Option[String]) extends ListBuilder

Concrete implementation of ListBuilder with sorting and nesting

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ListBuilder
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Adds an item or a nested list

Adds an item or a nested list

Attributes

override def build: Listing

Builds the final listing

Builds the final listing

Attributes

Definition Classes
override def copyWith(items: List[ListElementBuilder], listType: ListType, order: Option[SortingList], reference: Option[String]): ListBuilder

Creates a modified copy with custom internal state

Creates a modified copy with custom internal state

Attributes

Definition Classes

Sets the list type ("ul" or "ol")

Sets the list type ("ul" or "ol")

Attributes

def withReference(ref: String): ListBuilder

Sets a reference string used for Levenshtein sorting

Sets a reference string used for Levenshtein sorting

Attributes

Applies sorting based on the provided order type ("alphabetic", "length", "revert", "levenshtein")

Applies sorting based on the provided order type ("alphabetic", "length", "revert", "levenshtein")

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product