Packages

final class HtmlBuilder extends AnyRef

A string builder with helper methods for rendering HTML.

We don't use a library like Scalatags because we are trying to keep the number of external Scala dependencies low.

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

Instance Constructors

  1. new HtmlBuilder()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def append(params: MessageParams): HtmlBuilder
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def call(fn: (HtmlBuilder) ⇒ Unit): HtmlBuilder
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def element(name: String, attr: String = "")(fn: (HtmlBuilder) ⇒ Unit): HtmlBuilder.this.type
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def link(url: String, name: String): HtmlBuilder.this.type
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def optionally(condition: Boolean)(fn: (HtmlBuilder) ⇒ Unit): HtmlBuilder.this.type
  20. def page(title: String, raw: String = "")(body: (HtmlBuilder) ⇒ Unit): HtmlBuilder
  21. def path(p: io.AbsolutePath): HtmlBuilder
  22. def raw(string: String): HtmlBuilder.this.type
  23. def render: String
  24. def section(title: String, content: (HtmlBuilder) ⇒ Unit): HtmlBuilder
  25. def submitButton(query: String, title: String): HtmlBuilder
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def text(string: String): HtmlBuilder.this.type
  28. def toString(): String
    Definition Classes
    HtmlBuilder → AnyRef → Any
  29. def unorderedList[T](iterable: Iterable[T])(fn: (T) ⇒ Unit): HtmlBuilder
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped