HtmlVoid

ostrat.pWeb.HtmlVoid
sealed trait HtmlVoid extends HtmlElem

trait for HTML Void elements such as br img and input.

Attributes

Graph
Supertypes
trait HtmlElem
trait XmlElemLike
trait XCon
class Object
trait Matchable
class Any
Show all
Known subtypes
object HtmlBr
class HtmlCssLink
trait HtmlMeta
object HtmlUtf8

Members list

Value members

Concrete methods

final override def contents: RArr[XCon]

The content of this XML / HTML element.

The content of this XML / HTML element.

Attributes

Definition Classes
override def out(indent: Int, line1Delta: Int, maxLineLen: Int): String

Returns the XML / HTML source code, formatted according to the input. This allows the XML to be indented according to its context.

Returns the XML / HTML source code, formatted according to the input. This allows the XML to be indented according to its context.

Attributes

Definition Classes

Inherited methods

The attributes of this XML / HTML element.

The attributes of this XML / HTML element.

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike
def outEither(indent: Int, maxLineLen: Int): (Boolean, String)

I don't think this has been properly implemented. I believe the Boolean in the return value indicates if it is a single line output.

I don't think this has been properly implemented. I believe the Boolean in the return value indicates if it is a single line output.

Attributes

Inherited from:
XCon
def tag: String

The XML /HTML tag String. A tag is a markup construct that begins with < and ends with >

The XML /HTML tag String. A tag is a markup construct that begins with < and ends with >

Attributes

Inherited from:
XmlElemLike