sealed
trait
DomNode extends Node
Type Members
-
abstract
type
DomType <: Node
Abstract Value Members
-
abstract
def
wrappedNode: DomType
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
final
def
equals(obj: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
final
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Wrappers around
org.w3c.dom.Node
and subclasses, such that the wrapper aroundorg.w3c.dom.Element
conforms to the eu.cdevreeze.yaidom.queryapi.ElemLike API.Not all DOM node types are exposed via these wrappers. For example, attributes are not nodes according to the
ElemLike
API, so there is no wrapper for attributes.Use these wrappers only if there is a specific need for them. They are not immutable, and they are not thread-safe.
The wrappers are very light-weight, and typically very short-lived. On the other hand, each query may create many wrapper instances for the query results. By design, the only state of each wrapper instance is the wrapped DOM node, so changes to the state of that wrapped DOM node cannot corrupt the wrapper instance.