Interface Node

All Superinterfaces:
EventTarget, OpaqueReferenceType
All Known Subinterfaces:
CharacterData, Comment, Document, Element, HTMLAudioElement, HTMLButton, HTMLCanvasElement, HTMLDocument, HTMLElement, HTMLImageElement, HTMLTextAreaElement, HTMLWebGLCanvasElement, TextNode

public interface Node extends EventTarget
  • Method Details

    • childNodes

      NodeList childNodes()
    • baseURI

      String baseURI()
    • firstChild

      Node firstChild()
    • lastChild

      Node lastChild()
    • nextSibling

      Node nextSibling()
    • nodeName

      String nodeName()
    • nodeType

      int nodeType()
    • ownerDocument

      Document ownerDocument()
    • parentNode

      Node parentNode()
    • parentElement

      Element parentElement()
    • previousSibling

      Node previousSibling()
    • textContent

      String textContent()
    • textContent

      void textContent(String aNewValue)
    • appendChild

      void appendChild(Node aNode)
    • cloneNode

      Node cloneNode()
    • compareDocumentPosition

      int compareDocumentPosition(Node aOtherNode)
    • contains

      boolean contains(Node aOtherNode)
    • getRootNode

      Node getRootNode()
    • hasChildNodes

      boolean hasChildNodes()
    • insertBefore

      void insertBefore(Node aNewNode, Node aReferenceNode)
    • removeChild

      void removeChild(Node aChildNode)
    • replaceChild

      void replaceChild(Node aNewChild, Node aOldChild)
    • removeAll

      void removeAll()