Html

kreuzberg.Html
See theHtml companion object
trait Html

Abstract HTML Code which can contain other HTML Snippets and embedded Components.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SimpleHtml

Members list

Value members

Abstract methods

def addComment(c: String): Html

Add some comment to the HTML Comment.

Add some comment to the HTML Comment.

Attributes

def appendChild(html: Html): Html

Append a child HTML Node.

Append a child HTML Node.

Attributes

def embeddedComponents: Iterable[Component]

Returns all embedded components within the HTML Code.

Returns all embedded components within the HTML Code.

Attributes

def flatToBuilder(flatHtmlBuilder: FlatHtmlBuilder): Unit

Serializes into a FlatHtmlBuilder.

Serializes into a FlatHtmlBuilder.

Attributes

def prependChild(html: Html): Html

Prepend a child Node.

Prepend a child Node.

Attributes

def withId(id: Identifier): Html

Appends the data.id attribut to the HTML Code.

Appends the data.id attribut to the HTML Code.

Attributes

Concrete methods

def flat(): FlatHtml

Convert to a flat HTML representation.

Convert to a flat HTML representation.

Attributes

def render(sb: StringBuilder): Unit

Render the HTML.

Render the HTML.

Attributes

def renderToString(): String

Render the HTML to a String.

Render the HTML to a String.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any