HtmlStrOwnLine

ostrat.pWeb.HtmlStrOwnLine
trait HtmlStrOwnLine extends HtmlOwnLine

An HTML whose contents can be represented by a String.

Attributes

Graph
Supertypes
trait HtmlOwnLine
trait XHmlOwnLine
trait HtmlElem
trait XHmlElem
trait XConElem
class Object
trait Matchable
class Any
Show all
Known subtypes
class HtmlH1
class HtmlH2
class HtmlH3
class HtmlH4

Members list

Value members

Abstract methods

def str: String

Concrete methods

override def contents: RArr[XCon]

The content of this XML / HTML element.

The content of this XML / HTML element.

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
XHmlElem
def attribsOutLines(indent: Int, line1InputLen: Int, maxLineLen: Int): TextLines

Attributes

Inherited from:
XHmlElem

Attributes

Inherited from:
XHmlElem

Attributes

Inherited from:
XHmlElem

Attributes

Inherited from:
XHmlElem
def openAtts(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XHmlElem
def openTag(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XHmlElem

The full length of the opening tag without attributes.

The full length of the opening tag without attributes.

Attributes

Inherited from:
XHmlElem

The length of the < character plus the tag.

The length of the < character plus the tag.

Attributes

Inherited from:
XHmlElem
def openUnclosed(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XHmlElem
override def out(indent: Int, line1InputLen: 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. This will generally use the outLines method for its implementation.

Returns the XML / HTML source code, formatted according to the input. This allows the XML to be indented according to its context. This will generally use the outLines method for its implementation.

Attributes

Definition Classes
Inherited from:
XHmlOwnLine
override def outLines(indent: Int, line1InputLen: Int, maxLineLen: Int): TextLines

This method returns the HTML output code, but also information for the parent XML / HTML element. The class should not add any indentation to its first line. This is the responsibility of the parent element.

This method returns the HTML output code, but also information for the parent XML / HTML element. The class should not add any indentation to its first line. This is the responsibility of the parent element.

Attributes

Definition Classes
Inherited from:
XHmlOwnLine
def tagLen: Int

The number of characters in the tag. This is useful for calculating new lines in multi line elements.

The number of characters in the tag. This is useful for calculating new lines in multi line elements.

Attributes

Inherited from:
XHmlElem

Inherited and Abstract methods

def attribs: RArr[XAtt]

The attributes of this XML / HTML element.

The attributes of this XML / HTML element.

Attributes

Inherited from:
XHmlElem
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:
XHmlElem