ElementQuery |
ElementQuery.atDepth(int depth) |
Filters elements at the specified depth from the root element.
|
ElementQuery |
ElementQuery.containingText(java.lang.String text) |
Filters elements that contain the specified text.
|
ElementQuery |
Element.query() |
Creates a fluent query builder for finding elements.
|
ElementQuery |
ElementQuery.where(java.util.function.Predicate<Element> customFilter) |
Applies a custom filter predicate.
|
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.withAttribute(java.lang.String attributeName) |
Filters elements that have the specified attribute.
|
ElementQuery |
ElementQuery.withAttribute(java.lang.String attributeName,
java.lang.String attributeValue) |
Filters elements that have the specified attribute with the given value.
|
ElementQuery |
ElementQuery.withChildren() |
Filters elements that have child elements.
|
ElementQuery |
ElementQuery.withName(java.lang.String name) |
Filters elements by local name.
|
ElementQuery |
ElementQuery.withNamespace(java.lang.String namespaceURI) |
Filters elements by namespace URI.
|
ElementQuery |
ElementQuery.withoutChildren() |
Filters elements that have no child elements.
|
ElementQuery |
ElementQuery.withQName(QName qname) |
Filters elements by QName (namespace URI and local name).
|
ElementQuery |
ElementQuery.withTextContent(java.lang.String textContent) |
Filters elements by text content.
|