Class

org.danielnixon.saferdom.impl.lib

SaferNode

Related Doc: package lib

Permalink

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: Node)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def firstChildOpt: Option[Node]

    Permalink

    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]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def lastChildOpt: Option[Node]

    Permalink

    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 lookupNamespaceURIOpt(prefix: String): Option[String]

    Permalink

    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 lookupPrefixOpt(namespaceURI: String): Option[String]

    Permalink

    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 nextSiblingOpt: Option[Node]

    Permalink

    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

  12. def nodeValueOpt: Option[String]

    Permalink

    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

  13. def ownerDocumentOpt: Option[Document]

    Permalink

    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

  14. def parentNodeOpt: Option[Node]

    Permalink

    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

  15. def previousSiblingOpt: Option[Node]

    Permalink

    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

  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. val value: Node

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped