Class

laika.render

TextWriter

Related Doc: package render

Permalink

class TextWriter extends AnyRef

API for renderers that produce character output.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextWriter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextWriter(out: (String) ⇒ Unit, render: (Element) ⇒ Unit, root: Element, indentItem: String = " ", newLine: String = "\n")

    Permalink

    out

    the function to use for writing character data

    render

    the function to use for rendering child elements

    root

    the root element to render

    indentItem

    the string to write for a single level of indentation

    newLine

    the new line character sequence

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <<(element: Element): TextWriter.this.type

    Permalink

    Writes the specified element to the output, on the same line.

  4. def <<(elements: Seq[Element]): TextWriter.this.type

    Permalink

    Writes the specified elements to the output, all on the same line.

  5. def <<(str: String): TextWriter.this.type

    Permalink

    Writes the specified string to the output, on the same line.

  6. def <<|(element: Element): TextWriter.this.type

    Permalink

    Writes the specified element to the output, on a new line using the current level of indentation.

  7. def <<|(elements: Seq[Element]): TextWriter.this.type

    Permalink

    Writes the specified elements to the output, each of them on a new line using the current level of indentation.

  8. def <<|(str: String): TextWriter.this.type

    Permalink

    Writes the specified string to the output, on a new line using the current level of indentation.

  9. def <<|>(element: Element): TextWriter.this.type

    Permalink

    Writes the specified element to the output, on a new line and increasing indentation one level to the right.

  10. def <<|>(elements: Seq[Element]): TextWriter.this.type

    Permalink

    Writes the specified elements to the output, each of them on a new line with the indentation increased one level to the right.

  11. def <<|>(str: String): TextWriter.this.type

    Permalink

    Writes the specified string to the output, on a new line and increasing indentation one level to the right.

  12. def <|: TextWriter.this.type

    Permalink

    Writes a new line character sequence.

  13. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. object Indent

    Permalink
    Attributes
    protected
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def indented(indent: Int)(block: ⇒ Unit): Unit

    Permalink

    Executes the specified block while temporarily shifting the indentation level (if it is greater than the currently active one).

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def parents: List[Element]

    Permalink
    Attributes
    protected
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped