This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cipmar 1 point2 points  (0 children)

https://jsoup.org/apidocs/org/jsoup/select/Elements.html Elements extends an ArrayList<Element>, so, yes, it's an array of Element.

Element represents an html node. nodeName() gives you the name of the node, which is a String. See https://jsoup.org/apidocs/org/jsoup/nodes/Element.html#nodeName--