Element |
Editor.addElement(Element parent,
QName qname) |
Adds a new element using a QName.
|
Element |
Editor.addElement(Element parent,
QName qname,
java.lang.String textContent) |
Adds a new element using a QName with text content.
|
java.util.Optional<Element> |
Element.childElement(QName qname) |
Finds the first child element with the given QName.
|
java.util.stream.Stream<Element> |
Element.childElements(QName qname) |
Finds all child elements with the given QName.
|
java.util.Optional<Element> |
Element.descendant(QName qname) |
Finds the first descendant element with the given QName.
|
java.util.stream.Stream<Element> |
Element.descendants(QName qname) |
Finds all descendant elements with the given QName.
|
Editor.EditorElementBuilder |
Editor.NodeBuilder.element(QName qname) |
Creates an element builder using a QName that will be added to the document.
|
boolean |
QName.matches(QName other) |
Checks if this QName matches the given QName.
|
static Attribute |
Attribute.of(QName qname,
java.lang.String value) |
Creates an attribute from a QName and value.
|
static Element |
Element.of(QName qname) |
Creates an element from a QName.
|
java.util.Optional<Element> |
Element.path(QName... path) |
Finds an element by following a path of QNames from this element.
|
static Element |
Element.text(QName qname,
java.lang.String content) |
Creates an element from a QName with text content.
|
Editor.EditorElementBuilder |
Editor.EditorElementBuilder.withAttribute(QName qname,
java.lang.String value) |
Adds an attribute to this element using a QName.
|
ElementQuery |
ElementQuery.withAttribute(QName attributeQName) |
Filters elements that have the specified QName attribute.
|
ElementQuery |
ElementQuery.withAttribute(QName attributeQName,
java.lang.String attributeValue) |
Filters elements that have the specified QName attribute with the given value.
|
ElementQuery |
ElementQuery.withQName(QName qname) |
Filters elements by QName (namespace URI and local name).
|