DomNode

org.beangle.doc.html.dom.DomNode
abstract class DomNode extends Element

Attributes

Graph
Supertypes
trait Element
class Object
trait Matchable
class Any
Known subtypes
class Body
class Document
class Li
class P
class Span
class Table
class Caption
class Cell
class TheadCell
class Col
class ColGroup
class Row
class TBody
class THead
class UL
Show all

Members list

Value members

Abstract methods

def name: String

Concrete methods

def add(child: Element): Unit
def addStyle(name: String, value: String): Unit
def appendXml(elem: Element, buf: StringBuilder, indentation: Int): Unit
def childNodes: Seq[DomNode]
def find(pattern: String): Seq[DomNode]

按照tagName或者className查找

按照tagName或者className查找

Attributes

final override def render(sheets: StyleSheets): Unit

Attributes

Definition Classes
def renderStyle(sheets: StyleSheets): Unit
final def text: Option[String]
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

Concrete fields

var attributes: Map[String, String]
var children: Seq[Element]
var classNames: Seq[String]
var parent: Option[DomNode]
var style: Style