|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Elements | |
---|---|
org.jsoup.nodes | HTML document structure nodes. |
org.jsoup.select | Packages to support the CSS-style element selector. |
Uses of Elements in org.jsoup.nodes |
---|
Methods in org.jsoup.nodes that return Elements | |
---|---|
Elements |
Element.children()
Get this element's child elements. |
Elements |
Element.getAllElements()
Find all elements under this element (including self, and children of children). |
Elements |
Element.getElementsByAttribute(String key)
Find elements that have a named attribute set. |
Elements |
Element.getElementsByAttributeValue(String key,
String value)
Find elements that have an attribute with the specific value. |
Elements |
Element.getElementsByAttributeValueContaining(String key,
String match)
Find elements that have attributes whose value contains the match string. |
Elements |
Element.getElementsByAttributeValueEnding(String key,
String valueSuffix)
Find elements that have attributes that end with the value suffix. |
Elements |
Element.getElementsByAttributeValueNot(String key,
String value)
Find elements that either do not have this attribute, or have it with a different value. |
Elements |
Element.getElementsByAttributeValueStarting(String key,
String valuePrefix)
Find elements that have attributes that start with the value prefix. |
Elements |
Element.getElementsByClass(String className)
Find elements that have this class, including or under this element. |
Elements |
Element.getElementsByTag(String tagName)
Finds elements, including and recursively under this element, with the specified tag name. |
Elements |
Element.select(String query)
Find elements that match the selector query, with this element as the starting context. |
Elements |
Element.siblingElements()
Get sibling elements. |
Uses of Elements in org.jsoup.select |
---|
Methods in org.jsoup.select that return Elements | |
---|---|
Elements |
Elements.addClass(String className)
Add the class name to every matched element's class attribute. |
Elements |
Elements.append(String html)
Add the supplied HTML to the end of each matched element's inner HTML. |
Elements |
Elements.attr(String attributeKey,
String attributeValue)
Set an attribute on all matched elements. |
static Elements |
Collector.collect(Evaluator eval,
Element root)
Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator. |
Elements |
Elements.eq(int index)
Reduce the matched elements to one element |
Elements |
Elements.html(String html)
Set each matched element's inner HTML. |
Elements |
Elements.prepend(String html)
Add the supplied HTML to the start of each matched element's inner HTML. |
Elements |
Elements.removeAttr(String attributeKey)
Remove an attribute from every matched element. |
Elements |
Elements.removeClass(String className)
Remove the class name from every matched element's class attribute, if present. |
Elements |
Elements.select(String query)
Find matching elements within this element list. |
static Elements |
Selector.select(String query,
Element root)
Find elements matching selector. |
static Elements |
Selector.select(String query,
Iterable<Element> roots)
Find elements matching selector. |
Elements |
Elements.toggleClass(String className)
Toggle the class name on every matched element's class attribute. |
Elements |
Elements.wrap(String html)
Wrap the supplied HTML around each matched elements. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |