Java org.jsoup.select Elements fields, constructors, methods, implement or subclass

Example usage for Java org.jsoup.select Elements fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jsoup.select Elements.

The text is from its open source code.

Constructor

Method

Elementsappend(String html)
Add the supplied HTML to the end of each matched element's inner HTML.
Stringattr(String attributeKey)
Get an attribute value from the first matched element that has the attribute.
Elementsattr(String attributeKey, String attributeValue)
Set an attribute on all matched elements.
Elementseq(int index)
Get the nth matched element as an Elements object.
Elementfirst()
Get the first matched element.
ClassgetClass()
Returns the runtime class of this Object .
booleanhasAttr(String attributeKey)
Checks if any of the matched elements have this attribute defined.
booleanhasClass(String className)
Determine if any of the matched elements have this class name set in their class attribute.
booleanhasText()
Test if any matched Element has any text content, that is not just whitespace.
Stringhtml()
Get the combined inner HTML of all matched elements.
Elementshtml(String html)
Set the inner HTML of each matched element.
Elementlast()
Get the last matched element.
Elementsnot(String query)
Remove elements from this list that match the Selector query.
StringouterHtml()
Get the combined outer HTML of all matched elements.
Elementsparents()
Get all of the parents and ancestor elements of the matched elements.
Elementsremove()
Remove each matched element from the DOM.
ElementsremoveAttr(String attributeKey)
Remove an attribute from every matched element.
Elementsselect(String query)
Find matching elements within this element list.
Stringtext()
Get the combined text of all the matched elements.
StringtoString()
Get the combined outer HTML of all matched elements.
Elementstraverse(NodeVisitor nodeVisitor)
Perform a depth-first traversal on each of the selected elements.
Elementsunwrap()
Removes the matched elements from the DOM, and moves their children up into their parents.
Stringval()
Get the form element's value of the first matched element.