public interface Attribute extends Node
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Element> |
ownerElement()
Returns an
Optional that contains the owner element of the attribute if such owner
exists, otherwise returns an empty Optional. |
appendChild, children, click, compareDocumentPosition, document, evaluate, evaluate, insertChild, nextSibling, nodeName, nodeValue, nodeValue, parent, previousSibling, removeChild, replaceChild, textContent, textContent, type, xPathaddEventListener, dispatch, eventListeners, removeEventListenerfindElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagNamejava.util.Optional<Element> ownerElement()
Optional that contains the owner element of the attribute if such owner
exists, otherwise returns an empty Optional.java.lang.IllegalStateException - when the document this instance belongs to is closed