Wrappers around org.w3c.dom.Node and subclasses, such that the wrapper around org.w3c.dom.Element conforms to the
eu.cdevreeze.yaidom.ParentElemLike 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, they are not thread-safe, no equality
is defined, they are not serializable, etc.
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.
Wrappers around
org.w3c.dom.Node
and subclasses, such that the wrapper aroundorg.w3c.dom.Element
conforms to the eu.cdevreeze.yaidom.ParentElemLike 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, they are not thread-safe, no equality is defined, they are not serializable, etc.
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.