abstract class BufferedContent[A <: BufferedContent[A]] extends Appendable[A] with Content
Appendable content using a StringBuilder. Either specify elements or text, not both.
Using an Either[TraversableOnce[A], String] impacts performance in an already contentious part of code, so it has been done with both parameters instead.
- A
self-type
- Self Type
- A
- Source
- Content.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- BufferedContent
- Content
- Appendable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new BufferedContent(elements: Seq[A], text: String)
- elements
Sub elements to traverse when creating the resultant string
- text
Formatted content
Abstract Value Members
Concrete Value Members
- def body: String
The content String.
The content String.
- Definition Classes
- BufferedContent → Content
- def equals(obj: Any): Boolean
- Definition Classes
- BufferedContent → AnyRef → Any
- def hashCode(): Int
- Definition Classes
- BufferedContent → AnyRef → Any
- def toString(): String
- Definition Classes
- BufferedContent → AnyRef → Any