- a - Variable in class org.jsoup.select.Evaluator.CssNthEvaluator
-
- absUrl(String) - Method in class org.jsoup.nodes.Node
-
Get an absolute URL from a URL attribute that may be relative (i.e.
- absUrl(String) - Method in class org.jsoup.nodes.TextNode
-
- addAll(Attributes) - Method in class org.jsoup.nodes.Attributes
-
Add all the attributes from the incoming set to this set.
- addAttributes(String, String...) - Method in class org.jsoup.safety.Whitelist
-
Add a list of allowed attributes to a tag.
- addChildren(Node...) - Method in class org.jsoup.nodes.Node
-
- addChildren(int, Node...) - Method in class org.jsoup.nodes.Node
-
- addClass(String) - Method in class org.jsoup.nodes.Element
-
Add a class name to this element's class
attribute.
- addClass(String) - Method in class org.jsoup.select.Elements
-
Add the class name to every matched element's class
attribute.
- addElement(Element) - Method in class org.jsoup.nodes.FormElement
-
Add a form control element to this form.
- addEnforcedAttribute(String, String, String) - Method in class org.jsoup.safety.Whitelist
-
Add an enforced attribute to a tag.
- addFirst(Character) - Method in class org.jsoup.parser.TokenQueue
-
Add a character to the start of the queue (will be the next character retrieved).
- addFirst(String) - Method in class org.jsoup.parser.TokenQueue
-
Add a string to the start of the queue.
- addProtocols(String, String, String...) - Method in class org.jsoup.safety.Whitelist
-
Add allowed URL protocols for an element's URL attribute.
- addTags(String...) - Method in class org.jsoup.safety.Whitelist
-
Add a list of allowed elements to a whitelist.
- advance() - Method in class org.jsoup.parser.TokenQueue
-
Drops the next character off the queue.
- after(String) - Method in class org.jsoup.nodes.Element
-
Insert the specified HTML into the DOM after this element (as a following sibling).
- after(Node) - Method in class org.jsoup.nodes.Element
-
Insert the specified node into the DOM after this node (as a following sibling).
- after(String) - Method in class org.jsoup.nodes.Node
-
Insert the specified HTML into the DOM after this node (i.e.
- after(Node) - Method in class org.jsoup.nodes.Node
-
Insert the specified node into the DOM after this node (i.e.
- after(String) - Method in class org.jsoup.select.Elements
-
Insert the supplied HTML after each matched element's outer HTML.
- AllElements() - Constructor for class org.jsoup.select.Evaluator.AllElements
-
- append(String) - Method in class org.jsoup.nodes.Element
-
Add inner HTML to this element.
- append(String) - Method in class org.jsoup.select.Elements
-
Add the supplied HTML to the end of each matched element's inner HTML.
- appendChild(Node) - Method in class org.jsoup.nodes.Element
-
Add a node child node to this element.
- appendElement(String) - Method in class org.jsoup.nodes.Element
-
Create a new element by tag name, and add it as the last child.
- appendNormalisedWhitespace(StringBuilder, String, boolean) - Static method in class org.jsoup.helper.StringUtil
-
After normalizing the whitespace within a string, appends it to a string builder.
- appendText(String) - Method in class org.jsoup.nodes.Element
-
Create and append a new TextNode to this element.
- asList() - Method in class org.jsoup.nodes.Attributes
-
Get the attributes as a List, for iteration.
- asString(Document) - Method in class org.jsoup.helper.W3CDom
-
Serialize a W3C document to a String.
- attr(String, String) - Method in class org.jsoup.nodes.Element
-
Set an attribute value on this element.
- attr(String, boolean) - Method in class org.jsoup.nodes.Element
-
Set a boolean attribute value on this element.
- attr(String) - Method in class org.jsoup.nodes.Node
-
Get an attribute's value by its key.
- attr(String, String) - Method in class org.jsoup.nodes.Node
-
Set an attribute (key=value).
- attr(String) - Method in class org.jsoup.nodes.TextNode
-
- attr(String, String) - Method in class org.jsoup.nodes.TextNode
-
- attr(String) - Method in class org.jsoup.select.Elements
-
Get an attribute value from the first matched element that has the attribute.
- attr(String, String) - Method in class org.jsoup.select.Elements
-
Set an attribute on all matched elements.
- Attribute - Class in org.jsoup.nodes
-
A single key + value attribute.
- Attribute(String, String) - Constructor for class org.jsoup.nodes.Attribute
-
Create a new attribute from unencoded (raw) key and value.
- Attribute(String) - Constructor for class org.jsoup.select.Evaluator.Attribute
-
- AttributeKeyPair(String, String) - Constructor for class org.jsoup.select.Evaluator.AttributeKeyPair
-
- Attributes - Class in org.jsoup.nodes
-
The attributes of an Element.
- Attributes() - Constructor for class org.jsoup.nodes.Attributes
-
- attributes() - Method in class org.jsoup.nodes.Node
-
Get all of the element's attributes.
- attributes() - Method in class org.jsoup.nodes.TextNode
-
- AttributeStarting(String) - Constructor for class org.jsoup.select.Evaluator.AttributeStarting
-
- AttributeWithValue(String, String) - Constructor for class org.jsoup.select.Evaluator.AttributeWithValue
-
- AttributeWithValueContaining(String, String) - Constructor for class org.jsoup.select.Evaluator.AttributeWithValueContaining
-
- AttributeWithValueEnding(String, String) - Constructor for class org.jsoup.select.Evaluator.AttributeWithValueEnding
-
- AttributeWithValueMatching(String, Pattern) - Constructor for class org.jsoup.select.Evaluator.AttributeWithValueMatching
-
- AttributeWithValueNot(String, String) - Constructor for class org.jsoup.select.Evaluator.AttributeWithValueNot
-
- AttributeWithValueStarting(String, String) - Constructor for class org.jsoup.select.Evaluator.AttributeWithValueStarting
-
- b - Variable in class org.jsoup.select.Evaluator.CssNthEvaluator
-
- baseUri() - Method in class org.jsoup.nodes.Node
-
Get the base URI of this node.
- basic() - Static method in class org.jsoup.safety.Whitelist
-
This whitelist allows a fuller range of text nodes: a, b, blockquote, br, cite, code, dd, dl, dt, em, i, li,
ol, p, pre, q, small, span, strike, strong, sub, sup, u, ul
, and appropriate attributes.
- basicWithImages() - Static method in class org.jsoup.safety.Whitelist
-
This whitelist allows the same text tags as
Whitelist.basic()
, and also allows
img
tags, with appropriate
attributes, with
src
pointing to
http
or
https
.
- before(String) - Method in class org.jsoup.nodes.Element
-
Insert the specified HTML into the DOM before this element (as a preceding sibling).
- before(Node) - Method in class org.jsoup.nodes.Element
-
Insert the specified node into the DOM before this node (as a preceding sibling).
- before(String) - Method in class org.jsoup.nodes.Node
-
Insert the specified HTML into the DOM before this node (i.e.
- before(Node) - Method in class org.jsoup.nodes.Node
-
Insert the specified node into the DOM before this node (i.e.
- before(String) - Method in class org.jsoup.select.Elements
-
Insert the supplied HTML before each matched element's outer HTML.
- body() - Method in interface org.jsoup.Connection.Response
-
Get the body of the response as a plain string.
- body() - Method in class org.jsoup.helper.HttpConnection.Response
-
- body() - Method in class org.jsoup.nodes.Document
-
Accessor to the document's body
element.
- bodyAsBytes() - Method in interface org.jsoup.Connection.Response
-
Get the body of the response as an array of bytes.
- bodyAsBytes() - Method in class org.jsoup.helper.HttpConnection.Response
-
- BooleanAttribute - Class in org.jsoup.nodes
-
A boolean attribute that is written out without any value.
- BooleanAttribute(String) - Constructor for class org.jsoup.nodes.BooleanAttribute
-
Create a new boolean attribute from unencoded (raw) key.
- calculatePosition(Element, Element) - Method in class org.jsoup.select.Evaluator.CssNthEvaluator
-
- calculatePosition(Element, Element) - Method in class org.jsoup.select.Evaluator.IsNthChild
-
- calculatePosition(Element, Element) - Method in class org.jsoup.select.Evaluator.IsNthLastChild
-
- calculatePosition(Element, Element) - Method in class org.jsoup.select.Evaluator.IsNthLastOfType
-
- calculatePosition(Element, Element) - Method in class org.jsoup.select.Evaluator.IsNthOfType
-
- canContainBlock() - Method in class org.jsoup.parser.Tag
-
Gets if this tag can contain block tags.
- charset() - Method in interface org.jsoup.Connection.Response
-
Get the character set name of the response.
- charset() - Method in class org.jsoup.helper.HttpConnection.Response
-
- charset(Charset) - Method in class org.jsoup.nodes.Document
-
Sets the charset used in this document.
- charset() - Method in class org.jsoup.nodes.Document
-
Returns the charset used in this document.
- charset() - Method in class org.jsoup.nodes.Document.OutputSettings
-
Get the document's current output charset, which is used to control which characters are escaped when
generating HTML (via the html()
methods), and which are kept intact.
- charset(Charset) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Update the document's output charset.
- charset(String) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Update the document's output charset.
- child(int) - Method in class org.jsoup.nodes.Element
-
Get a child element of this element, by its 0-based index number.
- childNode(int) - Method in class org.jsoup.nodes.Node
-
Get a child node by its 0-based index.
- childNodes() - Method in class org.jsoup.nodes.Node
-
Get this node's children.
- childNodesAsArray() - Method in class org.jsoup.nodes.Node
-
- childNodesCopy() - Method in class org.jsoup.nodes.Node
-
Returns a deep copy of this node's children.
- childNodeSize() - Method in class org.jsoup.nodes.Node
-
Get the number of child nodes that this node holds.
- children() - Method in class org.jsoup.nodes.Element
-
Get this element's child elements.
- chompBalanced(char, char) - Method in class org.jsoup.parser.TokenQueue
-
Pulls a balanced string off the queue.
- chompTo(String) - Method in class org.jsoup.parser.TokenQueue
-
Pulls a string off the queue (like consumeTo), and then pulls off the matched string (but does not return it).
- chompToIgnoreCase(String) - Method in class org.jsoup.parser.TokenQueue
-
- Class(String) - Constructor for class org.jsoup.select.Evaluator.Class
-
- className() - Method in class org.jsoup.nodes.Element
-
Gets the literal value of this element's "class" attribute, which may include multiple class names, space
separated.
- classNames() - Method in class org.jsoup.nodes.Element
-
Get all of the element's class names.
- classNames(Set<String>) - Method in class org.jsoup.nodes.Element
-
Set the element's class
attribute to the supplied class names.
- clean(String, String, Whitelist) - Static method in class org.jsoup.Jsoup
-
Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a white-list of permitted
tags and attributes.
- clean(String, Whitelist) - Static method in class org.jsoup.Jsoup
-
Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a white-list of permitted
tags and attributes.
- clean(String, String, Whitelist, Document.OutputSettings) - Static method in class org.jsoup.Jsoup
-
Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a white-list of
permitted
tags and attributes.
- clean(Document) - Method in class org.jsoup.safety.Cleaner
-
Creates a new, clean document, from the original dirty document, containing only elements allowed by the whitelist.
- Cleaner - Class in org.jsoup.safety
-
The whitelist based HTML cleaner.
- Cleaner(Whitelist) - Constructor for class org.jsoup.safety.Cleaner
-
Create a new cleaner, that sanitizes documents using the supplied whitelist.
- clone() - Method in class org.jsoup.nodes.Attribute
-
- clone() - Method in class org.jsoup.nodes.Attributes
-
- clone() - Method in class org.jsoup.nodes.Document
-
- clone() - Method in class org.jsoup.nodes.Document.OutputSettings
-
- clone() - Method in class org.jsoup.nodes.Element
-
- clone() - Method in class org.jsoup.nodes.Node
-
Create a stand-alone, deep copy of this node, and all of its children.
- clone() - Method in class org.jsoup.select.Elements
-
Creates a deep copy of these elements.
- collect(Evaluator, Element) - Static method in class org.jsoup.select.Collector
-
Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator.
- Collector - Class in org.jsoup.select
-
Collects a list of elements that match the supplied criteria.
- Comment - Class in org.jsoup.nodes
-
A comment node.
- Comment(String, String) - Constructor for class org.jsoup.nodes.Comment
-
Create a new comment node.
- connect(String) - Static method in class org.jsoup.helper.HttpConnection
-
- connect(URL) - Static method in class org.jsoup.helper.HttpConnection
-
- connect(String) - Static method in class org.jsoup.Jsoup
-
- Connection - Interface in org.jsoup
-
A Connection provides a convenient interface to fetch content from the web, and parse them into Documents.
- Connection.Base<T extends Connection.Base> - Interface in org.jsoup
-
Common methods for Requests and Responses
- Connection.KeyVal - Interface in org.jsoup
-
A Key Value tuple.
- Connection.Method - Enum in org.jsoup
-
GET and POST http methods.
- Connection.Request - Interface in org.jsoup
-
Represents a HTTP request.
- Connection.Response - Interface in org.jsoup
-
Represents a HTTP response.
- consume() - Method in class org.jsoup.parser.TokenQueue
-
Consume one character off queue.
- consume(String) - Method in class org.jsoup.parser.TokenQueue
-
Consumes the supplied sequence of the queue.
- consumeAttributeKey() - Method in class org.jsoup.parser.TokenQueue
-
Consume an attribute key off the queue (letter, digit, -, _, :")
- consumeCssIdentifier() - Method in class org.jsoup.parser.TokenQueue
-
Consume a CSS identifier (ID or class) off the queue (letter, digit, -, _)
http://www.w3.org/TR/CSS2/syndata.html#value-def-identifier
- consumeElementSelector() - Method in class org.jsoup.parser.TokenQueue
-
Consume a CSS element selector (tag name, but | instead of : for namespaces, to not conflict with :pseudo selects).
- consumeTagName() - Method in class org.jsoup.parser.TokenQueue
-
Consume an tag name off the queue (word or :, _, -)
- consumeTo(String) - Method in class org.jsoup.parser.TokenQueue
-
Pulls a string off the queue, up to but exclusive of the match sequence, or to the queue running out.
- consumeToAny(String...) - Method in class org.jsoup.parser.TokenQueue
-
Consumes to the first sequence provided, or to the end of the queue.
- consumeToIgnoreCase(String) - Method in class org.jsoup.parser.TokenQueue
-
- consumeWhitespace() - Method in class org.jsoup.parser.TokenQueue
-
Pulls the next run of whitespace characters of the queue.
- consumeWord() - Method in class org.jsoup.parser.TokenQueue
-
Retrieves the next run of word type (letter or digit) off the queue.
- ContainsOwnText(String) - Constructor for class org.jsoup.select.Evaluator.ContainsOwnText
-
- ContainsText(String) - Constructor for class org.jsoup.select.Evaluator.ContainsText
-
- CONTENT_ENCODING - Static variable in class org.jsoup.helper.HttpConnection
-
- contentType() - Method in interface org.jsoup.Connection.Response
-
Get the response content type (e.g.
- contentType() - Method in class org.jsoup.helper.HttpConnection.Response
-
- convert(Document, Document) - Method in class org.jsoup.helper.W3CDom
-
Converts a jsoup document into the provided W3C Document.
- cookie(String) - Method in interface org.jsoup.Connection.Base
-
Get a cookie value by name from this request/response.
- cookie(String, String) - Method in interface org.jsoup.Connection.Base
-
Set a cookie in this request/response.
- cookie(String, String) - Method in interface org.jsoup.Connection
-
Set a cookie to be sent in the request.
- cookie(String, String) - Method in class org.jsoup.helper.HttpConnection
-
- cookies() - Method in interface org.jsoup.Connection.Base
-
Retrieve all of the request/response cookies as a map
- cookies(Map<String, String>) - Method in interface org.jsoup.Connection
-
Adds each of the supplied cookies to the request.
- cookies(Map<String, String>) - Method in class org.jsoup.helper.HttpConnection
-
- create(String, String) - Static method in class org.jsoup.helper.HttpConnection.KeyVal
-
- create(String, String, InputStream) - Static method in class org.jsoup.helper.HttpConnection.KeyVal
-
- createElement(String) - Method in class org.jsoup.nodes.Document
-
Create a new Element, with this document's base uri.
- createFromEncoded(String, String) - Static method in class org.jsoup.nodes.Attribute
-
Create a new Attribute from an unencoded key and a HTML attribute encoded value.
- createFromEncoded(String, String) - Static method in class org.jsoup.nodes.DataNode
-
Create a new DataNode from HTML encoded data.
- createFromEncoded(String, String) - Static method in class org.jsoup.nodes.TextNode
-
Create a new TextNode from HTML encoded (aka escaped) data.
- createShell(String) - Static method in class org.jsoup.nodes.Document
-
Create a valid, empty shell of a document, suitable for adding more elements to.
- CssNthEvaluator(int, int) - Constructor for class org.jsoup.select.Evaluator.CssNthEvaluator
-
- CssNthEvaluator(int) - Constructor for class org.jsoup.select.Evaluator.CssNthEvaluator
-
- cssSelector() - Method in class org.jsoup.nodes.Element
-
Get a CSS selector that will uniquely select this element.
- data(String, String) - Method in interface org.jsoup.Connection
-
Add a request data parameter.
- data(String, String, InputStream) - Method in interface org.jsoup.Connection
-
Add an input stream as a request data paramater.
- data(Collection<Connection.KeyVal>) - Method in interface org.jsoup.Connection
-
Adds all of the supplied data to the request data parameters
- data(Map<String, String>) - Method in interface org.jsoup.Connection
-
Adds all of the supplied data to the request data parameters
- data(String...) - Method in interface org.jsoup.Connection
-
Add a number of request data parameters.
- data(String) - Method in interface org.jsoup.Connection
-
Get the data KeyVal for this key, if any
- data(Connection.KeyVal) - Method in interface org.jsoup.Connection.Request
-
Add a data parameter to the request
- data() - Method in interface org.jsoup.Connection.Request
-
Get all of the request's data parameters
- data(String, String) - Method in class org.jsoup.helper.HttpConnection
-
- data(String, String, InputStream) - Method in class org.jsoup.helper.HttpConnection
-
- data(Map<String, String>) - Method in class org.jsoup.helper.HttpConnection
-
- data(String...) - Method in class org.jsoup.helper.HttpConnection
-
- data(Collection<Connection.KeyVal>) - Method in class org.jsoup.helper.HttpConnection
-
- data(String) - Method in class org.jsoup.helper.HttpConnection
-
- data(Connection.KeyVal) - Method in class org.jsoup.helper.HttpConnection.Request
-
- data() - Method in class org.jsoup.helper.HttpConnection.Request
-
- data() - Method in class org.jsoup.nodes.Element
-
Get the combined data of this element.
- DataNode - Class in org.jsoup.nodes
-
A data node, for contents of style, script tags etc, where contents should not show in text().
- DataNode(String, String) - Constructor for class org.jsoup.nodes.DataNode
-
Create a new DataNode.
- dataNodes() - Method in class org.jsoup.nodes.Element
-
Get this element's child data nodes.
- dataPrefix - Static variable in class org.jsoup.nodes.Attributes
-
- dataset() - Method in class org.jsoup.nodes.Attributes
-
Retrieves a filtered view of attributes that are HTML5 custom data attributes; that is, attributes with keys
starting with data-
.
- dataset() - Method in class org.jsoup.nodes.Element
-
Get this element's HTML5 custom data attributes.
- DataUtil - Class in org.jsoup.helper
-
Internal static utilities for handling data.
- DescendableLinkedList<E> - Class in org.jsoup.helper
-
Provides a descending iterator and other 1.6 methods to allow support on the 1.5 JRE.
- DescendableLinkedList() - Constructor for class org.jsoup.helper.DescendableLinkedList
-
Create a new DescendableLinkedList.
- descendingIterator() - Method in class org.jsoup.helper.DescendableLinkedList
-
Get an iterator that starts and the end of the list and works towards the start.
- doClone(Node) - Method in class org.jsoup.nodes.Node
-
- Document - Class in org.jsoup.nodes
-
A HTML Document.
- Document(String) - Constructor for class org.jsoup.nodes.Document
-
Create a new, empty Document.
- Document.OutputSettings - Class in org.jsoup.nodes
-
A Document's output settings control the form of the text() and html() methods.
- Document.OutputSettings.Syntax - Enum in org.jsoup.nodes
-
The output serialization syntax.
- Document.QuirksMode - Enum in org.jsoup.nodes
-
- DocumentType - Class in org.jsoup.nodes
-
A <!DOCTYPE>
node.
- DocumentType(String, String, String, String) - Constructor for class org.jsoup.nodes.DocumentType
-
Create a new doctype element.
- Element - Class in org.jsoup.nodes
-
A HTML element consists of a tag name, attributes, and child nodes (including text nodes and
other elements).
- Element(Tag, String, Attributes) - Constructor for class org.jsoup.nodes.Element
-
Create a new, standalone Element.
- Element(Tag, String) - Constructor for class org.jsoup.nodes.Element
-
Create a new Element from a tag and a base URI.
- elements() - Method in class org.jsoup.nodes.FormElement
-
Get the list of form control elements associated with this form.
- Elements - Class in org.jsoup.select
-
A list of
Element
s, with methods that act on every element in the list.
- Elements() - Constructor for class org.jsoup.select.Elements
-
- Elements(int) - Constructor for class org.jsoup.select.Elements
-
- Elements(Collection<Element>) - Constructor for class org.jsoup.select.Elements
-
- Elements(List<Element>) - Constructor for class org.jsoup.select.Elements
-
- Elements(Element...) - Constructor for class org.jsoup.select.Elements
-
- elementSiblingIndex() - Method in class org.jsoup.nodes.Element
-
Get the list index of this element in its element sibling list.
- empty() - Method in class org.jsoup.nodes.Element
-
Remove all of the element's child nodes.
- empty() - Method in class org.jsoup.select.Elements
-
Empty (remove all child nodes from) each matched element.
- ensureChildNodes() - Method in class org.jsoup.nodes.Node
-
- Entities - Class in org.jsoup.nodes
-
HTML entities, and escape routines.
- Entities.EscapeMode - Enum in org.jsoup.nodes
-
- eq(int) - Method in class org.jsoup.select.Elements
-
Get the nth matched element as an Elements object.
- equals(Object) - Method in class org.jsoup.nodes.Attribute
-
- equals(Object) - Method in class org.jsoup.nodes.Attributes
-
Checks if these attributes are equal to another set of attributes, by comparing the two sets
- equals(Object) - Method in class org.jsoup.nodes.Node
-
Check if this node is the same instance of another (object identity test).
- equals(Object) - Method in class org.jsoup.parser.Tag
-
- escapeMode() - Method in class org.jsoup.nodes.Document.OutputSettings
-
Get the document's current HTML escape mode: base
, which provides a limited set of named HTML
entities and escapes other characters as numbered entities for maximum compatibility; or extended
,
which uses the complete set of HTML named entities.
- escapeMode(Entities.EscapeMode) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Set the document's escape mode, which determines how characters are escaped when the output character set
does not support a given character:- using either a named or a numbered escape.
- Evaluator - Class in org.jsoup.select
-
Evaluates that an element matches the selector.
- Evaluator() - Constructor for class org.jsoup.select.Evaluator
-
- Evaluator.AllElements - Class in org.jsoup.select
-
Evaluator for any / all element matching
- Evaluator.Attribute - Class in org.jsoup.select
-
Evaluator for attribute name matching
- Evaluator.AttributeKeyPair - Class in org.jsoup.select
-
Abstract evaluator for attribute name/value matching
- Evaluator.AttributeStarting - Class in org.jsoup.select
-
Evaluator for attribute name prefix matching
- Evaluator.AttributeWithValue - Class in org.jsoup.select
-
Evaluator for attribute name/value matching
- Evaluator.AttributeWithValueContaining - Class in org.jsoup.select
-
Evaluator for attribute name/value matching (value containing)
- Evaluator.AttributeWithValueEnding - Class in org.jsoup.select
-
Evaluator for attribute name/value matching (value ending)
- Evaluator.AttributeWithValueMatching - Class in org.jsoup.select
-
Evaluator for attribute name/value matching (value regex matching)
- Evaluator.AttributeWithValueNot - Class in org.jsoup.select
-
Evaluator for attribute name != value matching
- Evaluator.AttributeWithValueStarting - Class in org.jsoup.select
-
Evaluator for attribute name/value matching (value prefix)
- Evaluator.Class - Class in org.jsoup.select
-
Evaluator for element class
- Evaluator.ContainsOwnText - Class in org.jsoup.select
-
Evaluator for matching Element's own text
- Evaluator.ContainsText - Class in org.jsoup.select
-
Evaluator for matching Element (and its descendants) text
- Evaluator.CssNthEvaluator - Class in org.jsoup.select
-
- Evaluator.Id - Class in org.jsoup.select
-
Evaluator for element id
- Evaluator.IndexEquals - Class in org.jsoup.select
-
Evaluator for matching by sibling index number (e = idx)
- Evaluator.IndexEvaluator - Class in org.jsoup.select
-
Abstract evaluator for sibling index matching
- Evaluator.IndexGreaterThan - Class in org.jsoup.select
-
Evaluator for matching by sibling index number (e > idx)
- Evaluator.IndexLessThan - Class in org.jsoup.select
-
Evaluator for matching by sibling index number (e < idx)
- Evaluator.IsEmpty - Class in org.jsoup.select
-
- Evaluator.IsFirstChild - Class in org.jsoup.select
-
Evaluator for matching the first sibling (css :first-child)
- Evaluator.IsFirstOfType - Class in org.jsoup.select
-
- Evaluator.IsLastChild - Class in org.jsoup.select
-
Evaluator for matching the last sibling (css :last-child)
- Evaluator.IsLastOfType - Class in org.jsoup.select
-
- Evaluator.IsNthChild - Class in org.jsoup.select
-
css-compatible Evaluator for :eq (css :nth-child)
- Evaluator.IsNthLastChild - Class in org.jsoup.select
-
css pseudo class :nth-last-child)
- Evaluator.IsNthLastOfType - Class in org.jsoup.select
-
- Evaluator.IsNthOfType - Class in org.jsoup.select
-
css pseudo class nth-of-type
- Evaluator.IsOnlyChild - Class in org.jsoup.select
-
- Evaluator.IsOnlyOfType - Class in org.jsoup.select
-
- Evaluator.IsRoot - Class in org.jsoup.select
-
css3 pseudo-class :root
- Evaluator.Matches - Class in org.jsoup.select
-
Evaluator for matching Element (and its descendants) text with regex
- Evaluator.MatchesOwn - Class in org.jsoup.select
-
Evaluator for matching Element's own text with regex
- Evaluator.Tag - Class in org.jsoup.select
-
Evaluator for tag name
- execute() - Method in interface org.jsoup.Connection
-
Execute the request.
- execute() - Method in class org.jsoup.helper.HttpConnection
-
- get() - Method in interface org.jsoup.Connection
-
Execute the request as a GET, and parse the result.
- get() - Method in class org.jsoup.helper.HttpConnection
-
- get(String) - Method in class org.jsoup.nodes.Attributes
-
Get an attribute value by key.
- getAllElements() - Method in class org.jsoup.nodes.Element
-
Find all elements under this element (including self, and children of children).
- getCharacterByName(String) - Static method in class org.jsoup.nodes.Entities
-
Get the Character value of the named entity
- getData() - Method in class org.jsoup.nodes.Comment
-
Get the contents of the comment.
- getElementById(String) - Method in class org.jsoup.nodes.Element
-
Find an element by ID, including or under this element.
- getElementsByAttribute(String) - Method in class org.jsoup.nodes.Element
-
Find elements that have a named attribute set.
- getElementsByAttributeStarting(String) - Method in class org.jsoup.nodes.Element
-
Find elements that have an attribute name starting with the supplied prefix.
- getElementsByAttributeValue(String, String) - Method in class org.jsoup.nodes.Element
-
Find elements that have an attribute with the specific value.
- getElementsByAttributeValueContaining(String, String) - Method in class org.jsoup.nodes.Element
-
Find elements that have attributes whose value contains the match string.
- getElementsByAttributeValueEnding(String, String) - Method in class org.jsoup.nodes.Element
-
Find elements that have attributes that end with the value suffix.
- getElementsByAttributeValueMatching(String, Pattern) - Method in class org.jsoup.nodes.Element
-
Find elements that have attributes whose values match the supplied regular expression.
- getElementsByAttributeValueMatching(String, String) - Method in class org.jsoup.nodes.Element
-
Find elements that have attributes whose values match the supplied regular expression.
- getElementsByAttributeValueNot(String, String) - Method in class org.jsoup.nodes.Element
-
Find elements that either do not have this attribute, or have it with a different value.
- getElementsByAttributeValueStarting(String, String) - Method in class org.jsoup.nodes.Element
-
Find elements that have attributes that start with the value prefix.
- getElementsByClass(String) - Method in class org.jsoup.nodes.Element
-
Find elements that have this class, including or under this element.
- getElementsByIndexEquals(int) - Method in class org.jsoup.nodes.Element
-
Find elements whose sibling index is equal to the supplied index.
- getElementsByIndexGreaterThan(int) - Method in class org.jsoup.nodes.Element
-
Find elements whose sibling index is greater than the supplied index.
- getElementsByIndexLessThan(int) - Method in class org.jsoup.nodes.Element
-
Find elements whose sibling index is less than the supplied index.
- getElementsByTag(String) - Method in class org.jsoup.nodes.Element
-
Finds elements, including and recursively under this element, with the specified tag name.
- getElementsContainingOwnText(String) - Method in class org.jsoup.nodes.Element
-
Find elements that directly contain the specified string.
- getElementsContainingText(String) - Method in class org.jsoup.nodes.Element
-
Find elements that contain the specified string.
- getElementsMatchingOwnText(Pattern) - Method in class org.jsoup.nodes.Element
-
Find elements whose own text matches the supplied regular expression.
- getElementsMatchingOwnText(String) - Method in class org.jsoup.nodes.Element
-
Find elements whose text matches the supplied regular expression.
- getElementsMatchingText(Pattern) - Method in class org.jsoup.nodes.Element
-
Find elements whose text matches the supplied regular expression.
- getElementsMatchingText(String) - Method in class org.jsoup.nodes.Element
-
Find elements whose text matches the supplied regular expression.
- getErrorMessage() - Method in class org.jsoup.parser.ParseError
-
Retrieve the error message.
- getErrors() - Method in class org.jsoup.parser.Parser
-
Retrieve the parse errors, if any, from the last parse.
- getKey() - Method in class org.jsoup.nodes.Attribute
-
Get the attribute key.
- getMap() - Method in enum org.jsoup.nodes.Entities.EscapeMode
-
- getMimeType() - Method in exception org.jsoup.UnsupportedMimeTypeException
-
- getName() - Method in class org.jsoup.parser.Tag
-
Get this tag's name.
- getPlainText(Element) - Method in class org.jsoup.examples.HtmlToPlainText
-
Format an Element to plain-text
- getPosition() - Method in class org.jsoup.parser.ParseError
-
Retrieves the offset of the error.
- getPseudoClass() - Method in class org.jsoup.select.Evaluator.CssNthEvaluator
-
- getPseudoClass() - Method in class org.jsoup.select.Evaluator.IsNthChild
-
- getPseudoClass() - Method in class org.jsoup.select.Evaluator.IsNthLastChild
-
- getPseudoClass() - Method in class org.jsoup.select.Evaluator.IsNthLastOfType
-
- getPseudoClass() - Method in class org.jsoup.select.Evaluator.IsNthOfType
-
- getStatusCode() - Method in exception org.jsoup.HttpStatusException
-
- getTreeBuilder() - Method in class org.jsoup.parser.Parser
-
Get the TreeBuilder currently in use.
- getUrl() - Method in exception org.jsoup.HttpStatusException
-
- getUrl() - Method in exception org.jsoup.UnsupportedMimeTypeException
-
- getValue() - Method in class org.jsoup.nodes.Attribute
-
Get the attribute value.
- getWholeData() - Method in class org.jsoup.nodes.DataNode
-
Get the data contents of this node.
- getWholeDeclaration() - Method in class org.jsoup.nodes.XmlDeclaration
-
Get the unencoded XML declaration.
- getWholeText() - Method in class org.jsoup.nodes.TextNode
-
Get the (unencoded) text of this text node, including any newlines and spaces present in the original.
- hasAttr(String) - Method in class org.jsoup.nodes.Node
-
Test if this element has an attribute.
- hasAttr(String) - Method in class org.jsoup.nodes.TextNode
-
- hasAttr(String) - Method in class org.jsoup.select.Elements
-
Checks if any of the matched elements have this attribute set.
- hasBody() - Method in enum org.jsoup.Connection.Method
-
Check if this HTTP method has/needs a request body
- hasClass(String) - Method in class org.jsoup.nodes.Element
-
Tests if this element has a class.
- hasClass(String) - Method in class org.jsoup.select.Elements
-
Determine if any of the matched elements have this class name set in their class
attribute.
- hasCookie(String) - Method in interface org.jsoup.Connection.Base
-
Check if a cookie is present
- hashCode() - Method in class org.jsoup.nodes.Attribute
-
- hashCode() - Method in class org.jsoup.nodes.Attributes
-
Calculates the hashcode of these attributes, by iterating all attributes and summing their hashcodes.
- hashCode() - Method in class org.jsoup.parser.Tag
-
- hasHeader(String) - Method in interface org.jsoup.Connection.Base
-
Check if a header is present
- hasHeaderWithValue(String, String) - Method in interface org.jsoup.Connection.Base
-
Check if a header is present, with the given value
- hasInputStream() - Method in interface org.jsoup.Connection.KeyVal
-
Does this keyval have an input stream?
- hasInputStream() - Method in class org.jsoup.helper.HttpConnection.KeyVal
-
- hasKey(String) - Method in class org.jsoup.nodes.Attributes
-
Tests if these attributes contain an attribute with this key.
- hasSameValue(Object) - Method in class org.jsoup.nodes.Node
-
Check if this node is has the same content as another node.
- hasText() - Method in class org.jsoup.nodes.Element
-
Test if this element has any text content (that is not just whitespace).
- hasText() - Method in class org.jsoup.select.Elements
-
- head(Node, int) - Method in class org.jsoup.helper.W3CDom.W3CBuilder
-
- head() - Method in class org.jsoup.nodes.Document
-
Accessor to the document's head
element.
- head(Node, int) - Method in interface org.jsoup.select.NodeVisitor
-
Callback for when a node is first visited.
- header(String) - Method in interface org.jsoup.Connection.Base
-
Get the value of a header.
- header(String, String) - Method in interface org.jsoup.Connection.Base
-
Set a header.
- header(String, String) - Method in interface org.jsoup.Connection
-
Set a request header.
- header(String, String) - Method in class org.jsoup.helper.HttpConnection
-
- headers() - Method in interface org.jsoup.Connection.Base
-
Retrieve all of the request/response headers as a map
- html() - Method in class org.jsoup.nodes.Attribute
-
Get the HTML representation of this attribute; e.g.
- html(Appendable, Document.OutputSettings) - Method in class org.jsoup.nodes.Attribute
-
- html() - Method in class org.jsoup.nodes.Attributes
-
Get the HTML representation of these attributes.
- html() - Method in class org.jsoup.nodes.Element
-
Retrieves the element's inner HTML.
- html(T) - Method in class org.jsoup.nodes.Element
-
Write this node and its children to the given
Appendable
.
- html(String) - Method in class org.jsoup.nodes.Element
-
Set this element's inner HTML.
- html(T) - Method in class org.jsoup.nodes.Node
-
Write this node and its children to the given
Appendable
.
- html() - Method in class org.jsoup.select.Elements
-
Get the combined inner HTML of all matched elements.
- html(String) - Method in class org.jsoup.select.Elements
-
Set the inner HTML of each matched element.
- htmlParser() - Static method in class org.jsoup.parser.Parser
-
Create a new HTML parser.
- HtmlToPlainText - Class in org.jsoup.examples
-
HTML to plain-text.
- HtmlToPlainText() - Constructor for class org.jsoup.examples.HtmlToPlainText
-
- HtmlTreeBuilder - Class in org.jsoup.parser
-
HTML Tree Builder; creates a DOM from Tokens.
- HttpConnection - Class in org.jsoup.helper
-
- HttpConnection.KeyVal - Class in org.jsoup.helper
-
- HttpConnection.Request - Class in org.jsoup.helper
-
- HttpConnection.Response - Class in org.jsoup.helper
-
- HttpStatusException - Exception in org.jsoup
-
Signals that a HTTP request resulted in a not OK HTTP response.
- HttpStatusException(String, int, String) - Constructor for exception org.jsoup.HttpStatusException
-
- id() - Method in class org.jsoup.nodes.Element
-
Get the id
attribute of this element.
- Id(String) - Constructor for class org.jsoup.select.Evaluator.Id
-
- ignoreContentType(boolean) - Method in interface org.jsoup.Connection
-
Ignore the document's Content-Type when parsing the response.
- ignoreContentType() - Method in interface org.jsoup.Connection.Request
-
Get the current ignoreContentType configuration.
- ignoreContentType(boolean) - Method in interface org.jsoup.Connection.Request
-
Configures the request to ignore the Content-Type of the response.
- ignoreContentType(boolean) - Method in class org.jsoup.helper.HttpConnection
-
- ignoreContentType() - Method in class org.jsoup.helper.HttpConnection.Request
-
- ignoreContentType(boolean) - Method in class org.jsoup.helper.HttpConnection.Request
-
- ignoreHttpErrors(boolean) - Method in interface org.jsoup.Connection
-
Configures the connection to not throw exceptions when a HTTP error occurs.
- ignoreHttpErrors() - Method in interface org.jsoup.Connection.Request
-
Get the current ignoreHttpErrors configuration.
- ignoreHttpErrors(boolean) - Method in interface org.jsoup.Connection.Request
-
Configures the request to ignore HTTP errors in the response.
- ignoreHttpErrors(boolean) - Method in class org.jsoup.helper.HttpConnection
-
- ignoreHttpErrors() - Method in class org.jsoup.helper.HttpConnection.Request
-
- ignoreHttpErrors(boolean) - Method in class org.jsoup.helper.HttpConnection.Request
-
- in(String, String...) - Static method in class org.jsoup.helper.StringUtil
-
- indent(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Node
-
- indentAmount() - Method in class org.jsoup.nodes.Document.OutputSettings
-
Get the current tag indent amount, used when pretty printing.
- indentAmount(int) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Set the indent amount for pretty printing
- IndexEquals(int) - Constructor for class org.jsoup.select.Evaluator.IndexEquals
-
- IndexEvaluator(int) - Constructor for class org.jsoup.select.Evaluator.IndexEvaluator
-
- IndexGreaterThan(int) - Constructor for class org.jsoup.select.Evaluator.IndexGreaterThan
-
- IndexLessThan(int) - Constructor for class org.jsoup.select.Evaluator.IndexLessThan
-
- initialiseParse(String, String, ParseErrorList) - Method in class org.jsoup.parser.XmlTreeBuilder
-
- inputStream(InputStream) - Method in interface org.jsoup.Connection.KeyVal
-
Add or update an input stream to this keyVal
- inputStream() - Method in interface org.jsoup.Connection.KeyVal
-
Get the input stream associated with this keyval, if any
- inputStream(InputStream) - Method in class org.jsoup.helper.HttpConnection.KeyVal
-
- inputStream() - Method in class org.jsoup.helper.HttpConnection.KeyVal
-
- insertChildren(int, Collection<? extends Node>) - Method in class org.jsoup.nodes.Element
-
Inserts the given child nodes into this element at the specified index.
- inSorted(String, String[]) - Static method in class org.jsoup.helper.StringUtil
-
- is(String) - Method in class org.jsoup.select.Elements
-
Test if any of the matched elements match the supplied query.
- isBaseNamedEntity(String) - Static method in class org.jsoup.nodes.Entities
-
Check if the input is a known named entity in the base entity set.
- isBlank(String) - Static method in class org.jsoup.helper.StringUtil
-
Tests if a string is blank: null, emtpy, or only whitespace (" ", \r\n, \t, etc)
- isBlank() - Method in class org.jsoup.nodes.TextNode
-
Test if this text node is blank -- that is, empty or only whitespace (including newlines).
- isBlock() - Method in class org.jsoup.nodes.Element
-
Test if this element is a block-level element.
- isBlock() - Method in class org.jsoup.parser.Tag
-
Gets if this is a block tag.
- isBooleanAttribute() - Method in class org.jsoup.nodes.Attribute
-
- isBooleanAttribute() - Method in class org.jsoup.nodes.BooleanAttribute
-
- isData() - Method in class org.jsoup.parser.Tag
-
Gets if this tag is a data only tag.
- isDataAttribute() - Method in class org.jsoup.nodes.Attribute
-
- isEmpty() - Method in class org.jsoup.parser.Tag
-
Get if this is an empty tag
- isEmpty() - Method in class org.jsoup.parser.TokenQueue
-
Is the queue empty?
- IsEmpty() - Constructor for class org.jsoup.select.Evaluator.IsEmpty
-
- isFalse(boolean) - Static method in class org.jsoup.helper.Validate
-
Validates that the value is false
- isFalse(boolean, String) - Static method in class org.jsoup.helper.Validate
-
Validates that the value is false
- IsFirstChild() - Constructor for class org.jsoup.select.Evaluator.IsFirstChild
-
- IsFirstOfType() - Constructor for class org.jsoup.select.Evaluator.IsFirstOfType
-
- isFormListed() - Method in class org.jsoup.parser.Tag
-
Get if this tag represents a control associated with a form.
- isFormSubmittable() - Method in class org.jsoup.parser.Tag
-
Get if this tag represents an element that should be submitted with a form.
- isInline() - Method in class org.jsoup.parser.Tag
-
Gets if this tag is an inline tag.
- isKnownTag() - Method in class org.jsoup.parser.Tag
-
Get if this is a pre-defined tag, or was auto created on parsing.
- isKnownTag(String) - Static method in class org.jsoup.parser.Tag
-
Check if this tagname is a known tag.
- IsLastChild() - Constructor for class org.jsoup.select.Evaluator.IsLastChild
-
- IsLastOfType() - Constructor for class org.jsoup.select.Evaluator.IsLastOfType
-
- isNamedEntity(String) - Static method in class org.jsoup.nodes.Entities
-
Check if the input is a known named entity
- IsNthChild(int, int) - Constructor for class org.jsoup.select.Evaluator.IsNthChild
-
- IsNthLastChild(int, int) - Constructor for class org.jsoup.select.Evaluator.IsNthLastChild
-
- IsNthLastOfType(int, int) - Constructor for class org.jsoup.select.Evaluator.IsNthLastOfType
-
- IsNthOfType(int, int) - Constructor for class org.jsoup.select.Evaluator.IsNthOfType
-
- isNumeric(String) - Static method in class org.jsoup.helper.StringUtil
-
Tests if a string is numeric, i.e.
- IsOnlyChild() - Constructor for class org.jsoup.select.Evaluator.IsOnlyChild
-
- IsOnlyOfType() - Constructor for class org.jsoup.select.Evaluator.IsOnlyOfType
-
- IsRoot() - Constructor for class org.jsoup.select.Evaluator.IsRoot
-
- isSafeAttribute(String, Element, Attribute) - Method in class org.jsoup.safety.Whitelist
-
Test if the supplied attribute is allowed by this whitelist for this tag
- isSafeTag(String) - Method in class org.jsoup.safety.Whitelist
-
Test if the supplied tag is allowed by this whitelist
- isSelfClosing() - Method in class org.jsoup.parser.Tag
-
Get if this tag is self closing.
- isTrackErrors() - Method in class org.jsoup.parser.Parser
-
Check if parse error tracking is enabled.
- isTrue(boolean) - Static method in class org.jsoup.helper.Validate
-
Validates that the value is true
- isTrue(boolean, String) - Static method in class org.jsoup.helper.Validate
-
Validates that the value is true
- isValid(String, Whitelist) - Static method in class org.jsoup.Jsoup
-
Test if the input HTML has only tags and attributes allowed by the Whitelist.
- isValid(Document) - Method in class org.jsoup.safety.Cleaner
-
Determines if the input document is valid, against the whitelist.
- isWhitespace(int) - Static method in class org.jsoup.helper.StringUtil
-
Tests if a code point is "whitespace" as defined in the HTML spec.
- iterator() - Method in class org.jsoup.nodes.Attributes
-
- padding(int) - Static method in class org.jsoup.helper.StringUtil
-
Returns space padding
- parent() - Method in class org.jsoup.nodes.Element
-
- parent() - Method in class org.jsoup.nodes.Node
-
Gets this node's parent node.
- parentNode() - Method in class org.jsoup.nodes.Node
-
Gets this node's parent node.
- parents() - Method in class org.jsoup.nodes.Element
-
Get this element's parent and ancestors, up to the document root.
- parents() - Method in class org.jsoup.select.Elements
-
Get all of the parents and ancestor elements of the matched elements.
- parse() - Method in interface org.jsoup.Connection.Response
-
Parse the body of the response as a Document.
- parse() - Method in class org.jsoup.helper.HttpConnection.Response
-
- parse(String, String) - Static method in class org.jsoup.Jsoup
-
Parse HTML into a Document.
- parse(String, String, Parser) - Static method in class org.jsoup.Jsoup
-
Parse HTML into a Document, using the provided Parser.
- parse(String) - Static method in class org.jsoup.Jsoup
-
Parse HTML into a Document.
- parse(File, String, String) - Static method in class org.jsoup.Jsoup
-
Parse the contents of a file as HTML.
- parse(File, String) - Static method in class org.jsoup.Jsoup
-
Parse the contents of a file as HTML.
- parse(InputStream, String, String) - Static method in class org.jsoup.Jsoup
-
Read an input stream, and parse it to a Document.
- parse(InputStream, String, String, Parser) - Static method in class org.jsoup.Jsoup
-
Read an input stream, and parse it to a Document.
- parse(URL, int) - Static method in class org.jsoup.Jsoup
-
Fetch a URL, and parse it as HTML.
- parse(String, String) - Static method in class org.jsoup.parser.Parser
-
Parse HTML into a Document.
- parseBodyFragment(String, String) - Static method in class org.jsoup.Jsoup
-
Parse a fragment of HTML, with the assumption that it forms the body
of the HTML.
- parseBodyFragment(String) - Static method in class org.jsoup.Jsoup
-
Parse a fragment of HTML, with the assumption that it forms the body
of the HTML.
- parseBodyFragment(String, String) - Static method in class org.jsoup.parser.Parser
-
Parse a fragment of HTML into the body
of a Document.
- parseBodyFragmentRelaxed(String, String) - Static method in class org.jsoup.parser.Parser
-
- ParseError - Class in org.jsoup.parser
-
A Parse Error records an error in the input HTML that occurs in either the tokenisation or the tree building phase.
- parseFragment(String, Element, String) - Static method in class org.jsoup.parser.Parser
-
Parse a fragment of HTML into a list of nodes.
- parseInput(String, String) - Method in class org.jsoup.parser.Parser
-
- parser(Parser) - Method in interface org.jsoup.Connection
-
Provide an alternate parser to use when parsing the response to a Document.
- parser(Parser) - Method in interface org.jsoup.Connection.Request
-
Specify the parser to use when parsing the document.
- parser() - Method in interface org.jsoup.Connection.Request
-
Get the current parser to use when parsing the document.
- parser(Parser) - Method in class org.jsoup.helper.HttpConnection
-
- parser(Parser) - Method in class org.jsoup.helper.HttpConnection.Request
-
- parser() - Method in class org.jsoup.helper.HttpConnection.Request
-
- Parser - Class in org.jsoup.parser
-
- Parser(TreeBuilder) - Constructor for class org.jsoup.parser.Parser
-
Create a new Parser, using the specified TreeBuilder
- parseXmlFragment(String, String) - Static method in class org.jsoup.parser.Parser
-
Parse a fragment of XML into a list of nodes.
- peek() - Method in class org.jsoup.parser.TokenQueue
-
Retrieves but does not remove the first character from the queue.
- peekLast() - Method in class org.jsoup.helper.DescendableLinkedList
-
Look at the last element, if there is one.
- pollLast() - Method in class org.jsoup.helper.DescendableLinkedList
-
Remove and return the last element, if there is one
- post() - Method in interface org.jsoup.Connection
-
Execute the request as a POST, and parse the result.
- post() - Method in class org.jsoup.helper.HttpConnection
-
- postDataCharset(String) - Method in interface org.jsoup.Connection
-
Sets the default post data character set for x-www-form-urlencoded post data
- postDataCharset(String) - Method in interface org.jsoup.Connection.Request
-
Sets the post data character set for x-www-form-urlencoded post data
- postDataCharset() - Method in interface org.jsoup.Connection.Request
-
Gets the post data character set for x-www-form-urlencoded post data
- postDataCharset(String) - Method in class org.jsoup.helper.HttpConnection
-
- postDataCharset(String) - Method in class org.jsoup.helper.HttpConnection.Request
-
- postDataCharset() - Method in class org.jsoup.helper.HttpConnection.Request
-
- prepend(String) - Method in class org.jsoup.nodes.Element
-
Add inner HTML into this element.
- prepend(String) - Method in class org.jsoup.select.Elements
-
Add the supplied HTML to the start of each matched element's inner HTML.
- prependChild(Node) - Method in class org.jsoup.nodes.Element
-
Add a node to the start of this element's children.
- prependElement(String) - Method in class org.jsoup.nodes.Element
-
Create a new element by tag name, and add it as the first child.
- prependText(String) - Method in class org.jsoup.nodes.Element
-
Create and prepend a new TextNode to this element.
- preserveRelativeLinks(boolean) - Method in class org.jsoup.safety.Whitelist
-
Configure this Whitelist to preserve relative links in an element's URL attribute, or convert them to absolute
links.
- preserveWhitespace() - Method in class org.jsoup.parser.Tag
-
Get if this tag should preserve whitespace within child text nodes.
- prettyPrint() - Method in class org.jsoup.nodes.Document.OutputSettings
-
Get if pretty printing is enabled.
- prettyPrint(boolean) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Enable or disable pretty printing.
- previousElementSibling() - Method in class org.jsoup.nodes.Element
-
Gets the previous element sibling of this element.
- previousSibling() - Method in class org.jsoup.nodes.Node
-
Get this node's previous sibling.
- process(Token) - Method in class org.jsoup.parser.HtmlTreeBuilder
-
- process(Token) - Method in class org.jsoup.parser.XmlTreeBuilder
-
- proxy(Proxy) - Method in interface org.jsoup.Connection
-
Set the proxy to use for this request.
- proxy(String, int) - Method in interface org.jsoup.Connection
-
Set the HTTP proxy to use for this request.
- proxy() - Method in interface org.jsoup.Connection.Request
-
Get the proxy used for this request.
- proxy(Proxy) - Method in interface org.jsoup.Connection.Request
-
Update the proxy for this request.
- proxy(String, int) - Method in interface org.jsoup.Connection.Request
-
Set the HTTP proxy to use for this request.
- proxy(Proxy) - Method in class org.jsoup.helper.HttpConnection
-
- proxy(String, int) - Method in class org.jsoup.helper.HttpConnection
-
- proxy() - Method in class org.jsoup.helper.HttpConnection.Request
-
- proxy(Proxy) - Method in class org.jsoup.helper.HttpConnection.Request
-
- proxy(String, int) - Method in class org.jsoup.helper.HttpConnection.Request
-
- push(E) - Method in class org.jsoup.helper.DescendableLinkedList
-
Add a new element to the start of the list.
- put(String, String) - Method in class org.jsoup.nodes.Attributes
-
Set a new attribute, or replace an existing one by key.
- put(String, boolean) - Method in class org.jsoup.nodes.Attributes
-
Set a new boolean attribute, remove attribute if value is false.
- put(Attribute) - Method in class org.jsoup.nodes.Attributes
-
Set a new attribute, or replace an existing one by key.
- referrer(String) - Method in interface org.jsoup.Connection
-
Set the request referrer (aka "referer") header.
- referrer(String) - Method in class org.jsoup.helper.HttpConnection
-
- relaxed() - Static method in class org.jsoup.safety.Whitelist
-
This whitelist allows a full range of text and structural body HTML: a, b, blockquote, br, caption, cite,
code, col, colgroup, dd, div, dl, dt, em, h1, h2, h3, h4, h5, h6, i, img, li, ol, p, pre, q, small, span, strike, strong, sub,
sup, table, tbody, td, tfoot, th, thead, tr, u, ul
- remainder() - Method in class org.jsoup.parser.TokenQueue
-
Consume and return whatever is left on the queue.
- remove(String) - Method in class org.jsoup.nodes.Attributes
-
Remove an attribute by key.
- remove() - Method in class org.jsoup.nodes.Node
-
Remove (delete) this node from the DOM tree.
- remove() - Method in class org.jsoup.select.Elements
-
Remove each matched element from the DOM.
- removeAttr(String) - Method in class org.jsoup.nodes.Node
-
Remove an attribute from this element.
- removeAttr(String) - Method in class org.jsoup.nodes.TextNode
-
- removeAttr(String) - Method in class org.jsoup.select.Elements
-
Remove an attribute from every matched element.
- removeAttributes(String, String...) - Method in class org.jsoup.safety.Whitelist
-
Remove a list of allowed attributes from a tag.
- removeChild(Node) - Method in class org.jsoup.nodes.Node
-
- removeClass(String) - Method in class org.jsoup.nodes.Element
-
Remove a class name from this element's class
attribute.
- removeClass(String) - Method in class org.jsoup.select.Elements
-
Remove the class name from every matched element's class
attribute, if present.
- removeCookie(String) - Method in interface org.jsoup.Connection.Base
-
Remove a cookie by name
- removeEnforcedAttribute(String, String) - Method in class org.jsoup.safety.Whitelist
-
Remove a previously configured enforced attribute from a tag.
- removeHeader(String) - Method in interface org.jsoup.Connection.Base
-
Remove a header by name
- removeProtocols(String, String, String...) - Method in class org.jsoup.safety.Whitelist
-
Remove allowed URL protocols for an element's URL attribute.
- removeTags(String...) - Method in class org.jsoup.safety.Whitelist
-
Remove a list of allowed elements from a whitelist.
- reparentChild(Node) - Method in class org.jsoup.nodes.Node
-
- replaceChild(Node, Node) - Method in class org.jsoup.nodes.Node
-
- replaceWith(Node) - Method in class org.jsoup.nodes.Node
-
Replace this node in the DOM with the supplied node.
- request() - Method in interface org.jsoup.Connection
-
Get the request object associated with this connection
- request(Connection.Request) - Method in interface org.jsoup.Connection
-
Set the connection's request
- request() - Method in class org.jsoup.helper.HttpConnection
-
- request(Connection.Request) - Method in class org.jsoup.helper.HttpConnection
-
- requestBody(String) - Method in interface org.jsoup.Connection.Request
-
Set a POST (or PUT) request body.
- requestBody() - Method in interface org.jsoup.Connection.Request
-
Get the current request body.
- requestBody(String) - Method in interface org.jsoup.Connection
-
Set a POST (or PUT) request body.
- requestBody(String) - Method in class org.jsoup.helper.HttpConnection.Request
-
- requestBody() - Method in class org.jsoup.helper.HttpConnection.Request
-
- requestBody(String) - Method in class org.jsoup.helper.HttpConnection
-
- resolve(URL, String) - Static method in class org.jsoup.helper.StringUtil
-
Create a new absolute URL, from a provided existing absolute URL and a relative URL component.
- resolve(String, String) - Static method in class org.jsoup.helper.StringUtil
-
Create a new absolute URL, from a provided existing absolute URL and a relative URL component.
- response() - Method in interface org.jsoup.Connection
-
Get the response, once the request has been executed
- response(Connection.Response) - Method in interface org.jsoup.Connection
-
Set the connection's response
- response() - Method in class org.jsoup.helper.HttpConnection
-
- response(Connection.Response) - Method in class org.jsoup.helper.HttpConnection
-
- select(String) - Method in class org.jsoup.nodes.Element
-
Find elements that match the
Selector
CSS query, with this element as the starting context.
- select(String) - Method in class org.jsoup.select.Elements
-
Find matching elements within this element list.
- select(String, Element) - Static method in class org.jsoup.select.Selector
-
Find elements matching selector.
- select(Evaluator, Element) - Static method in class org.jsoup.select.Selector
-
Find elements matching selector.
- select(String, Iterable<Element>) - Static method in class org.jsoup.select.Selector
-
Find elements matching selector.
- Selector - Class in org.jsoup.select
-
CSS-like element selector, that finds elements matching a query.
- Selector.SelectorParseException - Exception in org.jsoup.select
-
- SelectorParseException(String, Object...) - Constructor for exception org.jsoup.select.Selector.SelectorParseException
-
- SerializationException - Exception in org.jsoup
-
A SerializationException is raised whenever serialization of a DOM element fails.
- SerializationException() - Constructor for exception org.jsoup.SerializationException
-
Creates and initializes a new serialization exception with no error message and cause.
- SerializationException(String) - Constructor for exception org.jsoup.SerializationException
-
Creates and initializes a new serialization exception with the given error message and no cause.
- SerializationException(Throwable) - Constructor for exception org.jsoup.SerializationException
-
Creates and initializes a new serialization exception with the specified cause and an error message of
(cause==null ? null : cause.toString())
(which typically contains the class and error message of
cause
).
- SerializationException(String, Throwable) - Constructor for exception org.jsoup.SerializationException
-
Creates and initializes a new serialization exception with the given error message and cause.
- setBaseUri(String) - Method in class org.jsoup.nodes.Node
-
Update the base URI of this node and all of its descendants.
- setKey(String) - Method in class org.jsoup.nodes.Attribute
-
Set the attribute key.
- setParentNode(Node) - Method in class org.jsoup.nodes.Node
-
- setSiblingIndex(int) - Method in class org.jsoup.nodes.Node
-
- setTrackErrors(int) - Method in class org.jsoup.parser.Parser
-
Enable or disable parse error tracking for the next parse.
- setTreeBuilder(TreeBuilder) - Method in class org.jsoup.parser.Parser
-
Update the TreeBuilder used when parsing content.
- setValue(String) - Method in class org.jsoup.nodes.Attribute
-
Set the attribute value.
- setWholeData(String) - Method in class org.jsoup.nodes.DataNode
-
Set the data contents of this node.
- shouldCollapseAttribute(Document.OutputSettings) - Method in class org.jsoup.nodes.Attribute
-
Collapsible if it's a boolean attribute and value is empty or same as name
- siblingElements() - Method in class org.jsoup.nodes.Element
-
Get sibling elements.
- siblingIndex() - Method in class org.jsoup.nodes.Node
-
Get the list index of this node in its node sibling list.
- siblingNodes() - Method in class org.jsoup.nodes.Node
-
Retrieves this node's sibling nodes.
- simpleText() - Static method in class org.jsoup.safety.Whitelist
-
This whitelist allows only simple text formatting: b, em, i, strong, u
.
- size() - Method in class org.jsoup.nodes.Attributes
-
Get the number of attributes in this set.
- splitText(int) - Method in class org.jsoup.nodes.TextNode
-
Split this text node into two nodes at the specified string offset.
- statusCode() - Method in interface org.jsoup.Connection.Response
-
Get the status code of the response.
- statusCode() - Method in class org.jsoup.helper.HttpConnection.Response
-
- statusMessage() - Method in interface org.jsoup.Connection.Response
-
Get the status message of the response.
- statusMessage() - Method in class org.jsoup.helper.HttpConnection.Response
-
- StringUtil - Class in org.jsoup.helper
-
A minimal String utility class.
- StringUtil() - Constructor for class org.jsoup.helper.StringUtil
-
- submit() - Method in class org.jsoup.nodes.FormElement
-
Prepare to submit this form.
- syntax() - Method in class org.jsoup.nodes.Document.OutputSettings
-
Get the document's current output syntax.
- syntax(Document.OutputSettings.Syntax) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Set the document's output syntax.
- tag() - Method in class org.jsoup.nodes.Element
-
Get the Tag for this element.
- Tag - Class in org.jsoup.parser
-
HTML Tag capabilities.
- Tag(String) - Constructor for class org.jsoup.select.Evaluator.Tag
-
- tagName() - Method in class org.jsoup.nodes.Element
-
Get the name of the tag for this element.
- tagName(String) - Method in class org.jsoup.nodes.Element
-
Change the tag of this element.
- tagName(String) - Method in class org.jsoup.select.Elements
-
Update the tag name of each matched element.
- TagsSearchInScope - Static variable in class org.jsoup.parser.HtmlTreeBuilder
-
- tail(Node, int) - Method in class org.jsoup.helper.W3CDom.W3CBuilder
-
- tail(Node, int) - Method in interface org.jsoup.select.NodeVisitor
-
Callback for when a node is last visited, after all of its descendants have been visited.
- text(String) - Method in class org.jsoup.nodes.Document
-
Set the text of the body
of this document.
- text() - Method in class org.jsoup.nodes.Element
-
Gets the combined text of this element and all its children.
- text(String) - Method in class org.jsoup.nodes.Element
-
Set the text of this element.
- text() - Method in class org.jsoup.nodes.TextNode
-
Get the text content of this text node.
- text(String) - Method in class org.jsoup.nodes.TextNode
-
Set the text content of this text node.
- text() - Method in class org.jsoup.select.Elements
-
Get the combined text of all the matched elements.
- TextNode - Class in org.jsoup.nodes
-
A text node.
- TextNode(String, String) - Constructor for class org.jsoup.nodes.TextNode
-
Create a new TextNode representing the supplied (unencoded) text).
- textNodes() - Method in class org.jsoup.nodes.Element
-
Get this element's child text nodes.
- timeout() - Method in interface org.jsoup.Connection.Request
-
Get the request timeout, in milliseconds.
- timeout(int) - Method in interface org.jsoup.Connection.Request
-
Update the request timeout.
- timeout(int) - Method in interface org.jsoup.Connection
-
Set the request timeouts (connect and read).
- timeout() - Method in class org.jsoup.helper.HttpConnection.Request
-
- timeout(int) - Method in class org.jsoup.helper.HttpConnection.Request
-
- timeout(int) - Method in class org.jsoup.helper.HttpConnection
-
- title() - Method in class org.jsoup.nodes.Document
-
Get the string contents of the document's title
element.
- title(String) - Method in class org.jsoup.nodes.Document
-
Set the document's title
element.
- toggleClass(String) - Method in class org.jsoup.nodes.Element
-
Toggle a class name on this element's class
attribute: if present, remove it; otherwise add it.
- toggleClass(String) - Method in class org.jsoup.select.Elements
-
Toggle the class name on every matched element's class
attribute.
- TokenQueue - Class in org.jsoup.parser
-
A character queue with parsing helpers.
- TokenQueue(String) - Constructor for class org.jsoup.parser.TokenQueue
-
Create a new TokenQueue.
- toString() - Method in class org.jsoup.helper.HttpConnection.KeyVal
-
- toString() - Method in exception org.jsoup.HttpStatusException
-
- toString() - Method in class org.jsoup.nodes.Attribute
-
Get the string representation of this attribute, implemented as
Attribute.html()
.
- toString() - Method in class org.jsoup.nodes.Attributes
-
- toString() - Method in class org.jsoup.nodes.Comment
-
- toString() - Method in class org.jsoup.nodes.DataNode
-
- toString() - Method in class org.jsoup.nodes.Element
-
- toString() - Method in class org.jsoup.nodes.Node
-
- toString() - Method in class org.jsoup.nodes.TextNode
-
- toString() - Method in class org.jsoup.nodes.XmlDeclaration
-
- toString() - Method in class org.jsoup.parser.HtmlTreeBuilder
-
- toString() - Method in class org.jsoup.parser.ParseError
-
- toString() - Method in class org.jsoup.parser.Tag
-
- toString() - Method in class org.jsoup.parser.TokenQueue
-
- toString() - Method in class org.jsoup.select.Elements
-
Get the combined outer HTML of all matched elements.
- toString() - Method in class org.jsoup.select.Evaluator.AllElements
-
- toString() - Method in class org.jsoup.select.Evaluator.Attribute
-
- toString() - Method in class org.jsoup.select.Evaluator.AttributeStarting
-
- toString() - Method in class org.jsoup.select.Evaluator.AttributeWithValue
-
- toString() - Method in class org.jsoup.select.Evaluator.AttributeWithValueContaining
-
- toString() - Method in class org.jsoup.select.Evaluator.AttributeWithValueEnding
-
- toString() - Method in class org.jsoup.select.Evaluator.AttributeWithValueMatching
-
- toString() - Method in class org.jsoup.select.Evaluator.AttributeWithValueNot
-
- toString() - Method in class org.jsoup.select.Evaluator.AttributeWithValueStarting
-
- toString() - Method in class org.jsoup.select.Evaluator.Class
-
- toString() - Method in class org.jsoup.select.Evaluator.ContainsOwnText
-
- toString() - Method in class org.jsoup.select.Evaluator.ContainsText
-
- toString() - Method in class org.jsoup.select.Evaluator.CssNthEvaluator
-
- toString() - Method in class org.jsoup.select.Evaluator.Id
-
- toString() - Method in class org.jsoup.select.Evaluator.IndexEquals
-
- toString() - Method in class org.jsoup.select.Evaluator.IndexGreaterThan
-
- toString() - Method in class org.jsoup.select.Evaluator.IndexLessThan
-
- toString() - Method in class org.jsoup.select.Evaluator.IsEmpty
-
- toString() - Method in class org.jsoup.select.Evaluator.IsFirstChild
-
- toString() - Method in class org.jsoup.select.Evaluator.IsFirstOfType
-
- toString() - Method in class org.jsoup.select.Evaluator.IsLastChild
-
- toString() - Method in class org.jsoup.select.Evaluator.IsLastOfType
-
- toString() - Method in class org.jsoup.select.Evaluator.IsOnlyChild
-
- toString() - Method in class org.jsoup.select.Evaluator.IsOnlyOfType
-
- toString() - Method in class org.jsoup.select.Evaluator.IsRoot
-
- toString() - Method in class org.jsoup.select.Evaluator.Matches
-
- toString() - Method in class org.jsoup.select.Evaluator.MatchesOwn
-
- toString() - Method in class org.jsoup.select.Evaluator.Tag
-
- toString() - Method in exception org.jsoup.UnsupportedMimeTypeException
-
- traverse(NodeVisitor) - Method in class org.jsoup.nodes.Node
-
Perform a depth-first traversal through this node and its descendants.
- traverse(NodeVisitor) - Method in class org.jsoup.select.Elements
-
Perform a depth-first traversal on each of the selected elements.
- traverse(Node) - Method in class org.jsoup.select.NodeTraversor
-
Start a depth-first traverse of the root and all of its descendants.
- val() - Method in class org.jsoup.nodes.Element
-
Get the value of a form element (input, textarea, etc).
- val(String) - Method in class org.jsoup.nodes.Element
-
Set the value of a form element (input, textarea, etc).
- val() - Method in class org.jsoup.select.Elements
-
Get the form element's value of the first matched element.
- val(String) - Method in class org.jsoup.select.Elements
-
Set the form element's value in each of the matched elements.
- Validate - Class in org.jsoup.helper
-
Simple validation methods.
- validateTLSCertificates() - Method in interface org.jsoup.Connection.Request
-
Get the current state of TLS (SSL) certificate validation.
- validateTLSCertificates(boolean) - Method in interface org.jsoup.Connection.Request
-
Set TLS certificate validation.
- validateTLSCertificates(boolean) - Method in interface org.jsoup.Connection
-
Disable/enable TSL certificates validation for HTTPS requests.
- validateTLSCertificates() - Method in class org.jsoup.helper.HttpConnection.Request
-
- validateTLSCertificates(boolean) - Method in class org.jsoup.helper.HttpConnection.Request
-
- validateTLSCertificates(boolean) - Method in class org.jsoup.helper.HttpConnection
-
- value(String) - Method in interface org.jsoup.Connection.KeyVal
-
Update the value of a keyval
- value() - Method in interface org.jsoup.Connection.KeyVal
-
Get the value of a keyval
- value(String) - Method in class org.jsoup.helper.HttpConnection.KeyVal
-
- value() - Method in class org.jsoup.helper.HttpConnection.KeyVal
-
- valueOf(String) - Static method in enum org.jsoup.Connection.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jsoup.nodes.Document.OutputSettings.Syntax
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jsoup.nodes.Document.QuirksMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jsoup.nodes.Entities.EscapeMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class org.jsoup.parser.Tag
-
Get a Tag by name.
- values() - Static method in enum org.jsoup.Connection.Method
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jsoup.nodes.Document.OutputSettings.Syntax
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jsoup.nodes.Document.QuirksMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jsoup.nodes.Entities.EscapeMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.