implicit final class SaferNode extends AnyVal

See also

https://dom.spec.whatwg.org/#interface-node

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SaferNode
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SaferNode(value: raw.Node)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def firstChild: Option[raw.Node]

    Returns the node's first child in the tree, or null if the node is childless.

    Returns the node's first child in the tree, or null if the node is childless. If the node is a Document, it returns the first node in the list of its direct children.

    MDN

  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def lastChild: Option[raw.Node]

    Returns a Node representing the last direct child node of the node, or null if the node has no child.

    Returns a Node representing the last direct child node of the node, or null if the node has no child.

    MDN

  9. def lookupNamespaceURI(prefix: String): Option[String]

    Takes a prefix and returns the namespaceURI associated with it on the given node if found (and null if not).

    Takes a prefix and returns the namespaceURI associated with it on the given node if found (and null if not). Supplying null for the prefix will return the default namespace.

    MDN

  10. def lookupPrefix(namespaceURI: String): Option[String]

    Returns the prefix for a given namespaceURI if present, and null if not.

    Returns the prefix for a given namespaceURI if present, and null if not. When multiple prefixes are possible, the result is implementation-dependent.

    MDN

  11. def namespaceURI: Option[String]

    The namespace URI of this node, or null if it is no namespace.

    The namespace URI of this node, or null if it is no namespace. In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the http://www.w3.org/1999/xhtml namespace in both HTML and XML trees. Though the specification requires namespaceURI to be defined on the Node interface, Gecko-based browsers implement it on the Element interface.

    MDN

  12. def nextSibling: Option[raw.Node]

    Returns the node immediately following the specified one in its parent's childNodes list, or null if the specified node is the last node in that list.

    Returns the node immediately following the specified one in its parent's childNodes list, or null if the specified node is the last node in that list.

    MDN

  13. def nodeValue: Option[String]

    Is a DOMString representing the value of an object.

    Is a DOMString representing the value of an object. For most Node type, this returns null and any set operation is ignored. For nodes of type TEXT_NODE (Text objects), COMMENT_NODE (Comment objects), and PROCESSING_INSTRUCTION_NODE (ProcessingInstruction objects), the value corresponds to the text data contained in the object.

    MDN

  14. def ownerDocument: Option[raw.Document]

    Returns the Document that this node belongs to.

    Returns the Document that this node belongs to. If no document is associated with it, returns null.

    MDN

  15. def parentElement: Option[raw.Element]

    Returns an Element that is the parent of this node.

    Returns an Element that is the parent of this node. If the node has no parent, or if that parent is not an Element, this property returns null.

    MDN

  16. def parentNode: Option[raw.Node]

    Returns a Node that is the parent of this node.

    Returns a Node that is the parent of this node. If there is no such node, like if this node is the top of the tree or if doesn't participate in a tree, this property returns null.

    MDN

  17. def previousSibling: Option[raw.Node]

    Returns the node immediately preceding the specified one in its parent's childNodes list, null if the specified node is the first in that list.

    Returns the node immediately preceding the specified one in its parent's childNodes list, null if the specified node is the first in that list.

    MDN

  18. def toString(): String
    Definition Classes
    Any
  19. val value: raw.Node

Inherited from AnyVal

Inherited from Any

Ungrouped