Interface NonDocumentTypeChildNode

All Superinterfaces:
CSSNode, DOMNode, Node
All Known Implementing Classes:
DOMDocument, DOMElement, HTMLDocument, HTMLElement

public interface NonDocumentTypeChildNode extends DOMNode
Based on W3C's NonDocumentTypeChildNode interface.
  • Method Details

    • getPreviousElementSibling

      DOMElement getPreviousElementSibling()
      Gets the first preceding sibling that is an element.
      Returns:
      the first preceding sibling that is an element, and null otherwise.
    • getNextElementSibling

      DOMElement getNextElementSibling()
      Gets the first following sibling that is an element.
      Returns:
      the first following sibling that is an element, and null otherwise.