XHmlElem

ostrat.pWeb.XHmlElem
trait XHmlElem extends XConElem

An XML or an HTML element.

Attributes

Graph
Supertypes
trait XConElem
class Object
trait Matchable
class Any
Known subtypes
trait HtmlElem
class HtmlOl
trait HtmlRow
class HtmlRowData
class HtmlRowHead
trait HtmlSection
object CoordSystem
object Ellipses
object GeomPage2D
object GeomPageWeb
object LessonLists
object LinePathNames
class HtmlOlWithLH
class HtmlUlWithLH
class HtmlSvg
class HtmlTable
class HtmlUl
trait HtmlOwnLine
trait HtmlBrLine
class HtmlButton
class HtmlCanvas
trait HtmlCell
class HtmlTd
class HtmlTh
class HtmlDirPath
class HtmlDivGen
class HtmlLi
class HtmlNoScript
class HtmlP
class HtmlScript
class HtmlSpan
class HtmlH1
class HtmlH2
class HtmlH3
class HtmlH4
class HtmlStyle
trait HtmlUnvoid
class HtmlBody
trait HtmlCode
trait HtmlBash
class HtmlBashLine
trait HtmlSbt
trait HtmlScala
trait HtmlDiv
class HtmlHead
class HtmlHtml
class HtmlTitle
trait HtmlVoid
object HtmlBr
class HtmlCssLink
class HtmlInput
trait HtmlMeta
object HtmlNoCache
object HtmlUtf8
trait XHmlInline
trait HtmlInline
class HtmlA
class HtmlB
trait XmlInline
trait SvgElem
class SvgCircle
class SvgEllipse
class SvgGroup
class SvgLine
class SvgPolygon
class SvgRect
class SvgText
class ArtifactId
class GroupId
object OpenJfxId
object ScalaGroupId
object RichstratID
class ServletClass
class ServletName
class UrlPattern
class VersionElem
trait XHmlMulti
trait XmlMulti
class PomDep
trait PomProject
trait WebApp
trait WebApp6
class ServletElem
trait XHmlOwnLine
trait XHtmlInline
trait XmlElem
trait XmlNoAtts
Show all

Members list

Value members

Abstract methods

def attribs: RArr[XAtt]

The attributes of this XML / HTML element.

The attributes of this XML / HTML element.

Attributes

The content of this XML / HTML element.

The content of this XML / HTML element.

Attributes

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

Concrete methods

def attribsOutLines(indent: Int, line1InputLen: Int, maxLineLen: Int): TextLines
def openAtts(indent: Int, line1InputLen: Int, maxLineLen: Int): String
def openTag(indent: Int, line1InputLen: Int, maxLineLen: Int): String

The full length of the opening tag without attributes.

The full length of the opening tag without attributes.

Attributes

The length of the < character plus the tag.

The length of the < character plus the tag.

Attributes

def openUnclosed(indent: Int, line1InputLen: Int, maxLineLen: Int): String
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 methods

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

Inherited from:
XConElem

Inherited and Abstract methods

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

Inherited from:
XConElem