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, xPath
addEventListener, dispatch, eventListeners, removeEventListener
findElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagName
java.util.Optional<Element> ownerElement()
Optional
that contains the owner element of the attribute if such owner
exists, otherwise returns an empty Optional
.ObjectClosedException
- when the document this instance belongs to is closed