Interface Attribute

All Superinterfaces:
EventTarget, Node, SearchContext

public interface Attribute extends Node
An HTML DOM attribute.
  • Method Details

    • ownerElement

      Optional<Element> ownerElement()
      Returns an Optional that contains the owner element of the attribute if such owner exists, otherwise returns an empty Optional.
      Throws:
      ObjectClosedException - when this instance is closed