A B C D E F G H I J K L M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a - Variable in class org.jsoup.select.Evaluator.CssNthEvaluator
- aboveOnStack(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- absUrl(String) - Method in class org.jsoup.nodes.LeafNode
- absUrl(String) - Method in class org.jsoup.nodes.Node
-
Get an absolute URL from a URL attribute that may be relative (i.e.
- accum - Variable in class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- accum - Variable in class org.jsoup.nodes.Node.OuterHtmlVisitor
- accumulateParents(Element, Elements) - Static method in class org.jsoup.nodes.Element
- Accumulator(Element, Elements, Evaluator) - Constructor for class org.jsoup.select.Collector.Accumulator
- add(int, E) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- add(E) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- add(String, String) - Method in class org.jsoup.nodes.Attributes
- add(Evaluator) - Method in class org.jsoup.select.CombiningEvaluator.Or
- addAll(int, Collection<? extends E>) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- addAll(Collection<? extends E>) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- 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(int, Node...) - Method in class org.jsoup.nodes.Node
- addChildren(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
classattribute. - addClass(String) - Method in class org.jsoup.select.Elements
-
Add the class name to every matched element's
classattribute. - 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.
- addHeader(String, String) - Method in interface org.jsoup.Connection.Base
-
Add a header.
- addHeader(String, String) - Method in class org.jsoup.helper.HttpConnection.Base
- addProtocols(String, String, String...) - Method in class org.jsoup.safety.Whitelist
-
Add allowed URL protocols for an element's URL attribute.
- addSiblingHtml(int, String) - Method in class org.jsoup.nodes.Node
- 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.CharacterReader
-
Moves the current position by one.
- advance() - Method in class org.jsoup.parser.TokenQueue
-
Drops the next character off the queue.
- advanceTransition(TokeniserState) - Method in class org.jsoup.parser.Tokeniser
- after(String) - Method in class org.jsoup.nodes.Element
-
Insert the specified HTML into the DOM after this element (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(String) - Method in class org.jsoup.select.Elements
-
Insert the supplied HTML after each matched element's outer HTML.
- after(Node) - Method in class org.jsoup.nodes.Element
-
Insert the specified node into the DOM after this node (as a following sibling).
- after(Node) - Method in class org.jsoup.nodes.Node
-
Insert the specified node into the DOM after this node (i.e.
- AfterAfterBody - org.jsoup.parser.HtmlTreeBuilderState
- AfterAfterFrameset - org.jsoup.parser.HtmlTreeBuilderState
- AfterAttributeName - org.jsoup.parser.TokeniserState
- AfterAttributeValue_quoted - org.jsoup.parser.TokeniserState
- AfterBody - org.jsoup.parser.HtmlTreeBuilderState
- AfterDoctypeName - org.jsoup.parser.TokeniserState
- AfterDoctypePublicIdentifier - org.jsoup.parser.TokeniserState
- AfterDoctypePublicKeyword - org.jsoup.parser.TokeniserState
- AfterDoctypeSystemIdentifier - org.jsoup.parser.TokeniserState
- AfterDoctypeSystemKeyword - org.jsoup.parser.TokeniserState
- AfterFrameset - org.jsoup.parser.HtmlTreeBuilderState
- AfterHead - org.jsoup.parser.HtmlTreeBuilderState
- allElements() - Method in class org.jsoup.select.QueryParser
- AllElements() - Constructor for class org.jsoup.select.Evaluator.AllElements
- And(Collection<Evaluator>) - Constructor for class org.jsoup.select.CombiningEvaluator.And
- And(Evaluator...) - Constructor for class org.jsoup.select.CombiningEvaluator.And
- append(String) - Method in class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- 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.
- appendAttributeName(char) - Method in class org.jsoup.parser.Token.Tag
- appendAttributeName(String) - Method in class org.jsoup.parser.Token.Tag
- appendAttributeValue(char) - Method in class org.jsoup.parser.Token.Tag
- appendAttributeValue(char[]) - Method in class org.jsoup.parser.Token.Tag
- appendAttributeValue(int[]) - Method in class org.jsoup.parser.Token.Tag
- appendAttributeValue(String) - Method in class org.jsoup.parser.Token.Tag
- 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.
- appendEncoded(Appendable, Entities.EscapeMode, int) - Static method in class org.jsoup.nodes.Entities
- appendNormalisedText(StringBuilder, TextNode) - Static method in class org.jsoup.nodes.Element
- appendNormalisedWhitespace(StringBuilder, String, boolean) - Static method in class org.jsoup.internal.StringUtil
-
After normalizing the whitespace within a string, appends it to a string builder.
- appendTagName(char) - Method in class org.jsoup.parser.Token.Tag
- appendTagName(String) - Method in class org.jsoup.parser.Token.Tag
- appendText(String) - Method in class org.jsoup.nodes.Element
-
Create and append a new TextNode to this element.
- appendTo(Element) - Method in class org.jsoup.nodes.Element
-
Add this element to the supplied parent element, as its next child.
- appendWhitespaceIfBr(Element, StringBuilder) - Static method in class org.jsoup.nodes.Element
- appropriateEndTagName() - Method in class org.jsoup.parser.Tokeniser
- asCharacter() - Method in class org.jsoup.parser.Token
- ascii - org.jsoup.nodes.Entities.CoreCharset
- asComment() - Method in class org.jsoup.parser.Token
- asDoctype() - Method in class org.jsoup.parser.Token
- asEndTag() - Method in class org.jsoup.parser.Token
- asList() - Method in class org.jsoup.nodes.Attributes
-
Get the attributes as a List, for iteration.
- asStartTag() - Method in class org.jsoup.parser.Token
- asString(Document) - Method in class org.jsoup.helper.W3CDom
-
Serialize a W3C document to a String.
- asXmlDeclaration() - Method in class org.jsoup.nodes.Comment
-
Attempt to cast this comment to an XML Declaration note.
- attr - Variable in class org.jsoup.nodes.Attributes.Dataset.DatasetIterator
- attr(String) - Method in class org.jsoup.nodes.LeafNode
- attr(String) - Method in class org.jsoup.nodes.Node
-
Get an attribute's value by its key.
- attr(String) - Method in class org.jsoup.select.Elements
-
Get an attribute value from the first matched element that has the attribute.
- attr(String, boolean) - Method in class org.jsoup.nodes.Element
-
Set a boolean attribute value on this element.
- attr(String, String) - Method in class org.jsoup.nodes.Element
-
Set an attribute value on this element.
- attr(String, String) - Method in class org.jsoup.nodes.LeafNode
- attr(String, String) - Method in class org.jsoup.nodes.Node
-
Set an attribute (key=value).
- 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) - Constructor for class org.jsoup.select.Evaluator.Attribute
- Attribute(String, String) - Constructor for class org.jsoup.nodes.Attribute
-
Create a new attribute from unencoded (raw) key and value.
- Attribute(String, String, Attributes) - Constructor for class org.jsoup.nodes.Attribute
-
Create a new attribute from unencoded (raw) key and value.
- attributeDoubleValueCharsSorted - Static variable in enum org.jsoup.parser.TokeniserState
- AttributeEvals - Static variable in class org.jsoup.select.QueryParser
- AttributeKey(String) - Constructor for class org.jsoup.safety.Whitelist.AttributeKey
- AttributeKeyPair(String, String) - Constructor for class org.jsoup.select.Evaluator.AttributeKeyPair
- AttributeName - org.jsoup.parser.TokeniserState
- attributeNameCharsSorted - Static variable in enum org.jsoup.parser.TokeniserState
- attributes - Variable in class org.jsoup.nodes.Attributes.Dataset
- attributes - Variable in class org.jsoup.nodes.Element
- attributes - Variable in class org.jsoup.parser.Token.Tag
- attributes - Variable in class org.jsoup.safety.Whitelist
- attributes() - Method in class org.jsoup.nodes.Element
- attributes() - Method in class org.jsoup.nodes.LeafNode
- attributes() - Method in class org.jsoup.nodes.Node
-
Get all of the element's attributes.
- Attributes - Class in org.jsoup.nodes
-
The attributes of an Element.
- Attributes() - Constructor for class org.jsoup.nodes.Attributes
- Attributes.Dataset - Class in org.jsoup.nodes
- Attributes.Dataset.DatasetIterator - Class in org.jsoup.nodes
- Attributes.Dataset.EntrySet - Class in org.jsoup.nodes
- attributeSingleValueCharsSorted - Static variable in enum org.jsoup.parser.TokeniserState
- AttributeStarting(String) - Constructor for class org.jsoup.select.Evaluator.AttributeStarting
- AttributeValue(String) - Constructor for class org.jsoup.safety.Whitelist.AttributeValue
- AttributeValue_doubleQuoted - org.jsoup.parser.TokeniserState
- AttributeValue_singleQuoted - org.jsoup.parser.TokeniserState
- AttributeValue_unquoted - org.jsoup.parser.TokeniserState
- attributeValueUnquoted - Static variable in enum org.jsoup.parser.TokeniserState
- 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
- attrIter - Variable in class org.jsoup.nodes.Attributes.Dataset.DatasetIterator
B
- b - Variable in class org.jsoup.select.Evaluator.CssNthEvaluator
- base - org.jsoup.nodes.Entities.EscapeMode
-
Default HTML output entities.
- Base() - Constructor for class org.jsoup.helper.HttpConnection.Base
- basePoints - Static variable in class org.jsoup.nodes.EntitiesData
- baseUri - Variable in class org.jsoup.nodes.Element
- baseUri - Variable in class org.jsoup.parser.TreeBuilder
- baseUri() - Method in class org.jsoup.nodes.Element
- baseUri() - Method in class org.jsoup.nodes.LeafNode
- baseUri() - Method in class org.jsoup.nodes.Node
-
Get the base URI of this node.
- baseUriSetFromDoc - Variable in class org.jsoup.parser.HtmlTreeBuilder
- 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 allowsimgtags, with appropriate attributes, withsrcpointing tohttporhttps. - before(String) - Method in class org.jsoup.nodes.Element
-
Insert the specified HTML into the DOM before this element (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(String) - Method in class org.jsoup.select.Elements
-
Insert the supplied HTML before each matched element's outer HTML.
- before(Node) - Method in class org.jsoup.nodes.Element
-
Insert the specified node into the DOM before this node (as a preceding sibling).
- before(Node) - Method in class org.jsoup.nodes.Node
-
Insert the specified node into the DOM before this node (i.e.
- BeforeAttributeName - org.jsoup.parser.TokeniserState
- BeforeAttributeValue - org.jsoup.parser.TokeniserState
- BeforeDoctypeName - org.jsoup.parser.TokeniserState
- BeforeDoctypePublicIdentifier - org.jsoup.parser.TokeniserState
- BeforeDoctypeSystemIdentifier - org.jsoup.parser.TokeniserState
- BeforeHead - org.jsoup.parser.HtmlTreeBuilderState
- BeforeHtml - org.jsoup.parser.HtmlTreeBuilderState
- BetweenDoctypePublicAndSystemIdentifiers - org.jsoup.parser.TokeniserState
- blockTags - Static variable in class org.jsoup.parser.Tag
- body - Variable in class org.jsoup.helper.HttpConnection.Request
- 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
bodyelement. - 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
- bodyStream - Variable in class org.jsoup.helper.HttpConnection.Response
- bodyStream() - Method in interface org.jsoup.Connection.Response
-
Get the body of the response as a (buffered) InputStream.
- bodyStream() - Method in class org.jsoup.helper.HttpConnection.Response
- bogus - Variable in class org.jsoup.parser.Token.Comment
- BogusComment - org.jsoup.parser.TokeniserState
- BogusDoctype - org.jsoup.parser.TokeniserState
- BomCharset(String, boolean) - Constructor for class org.jsoup.helper.DataUtil.BomCharset
- BooleanAttribute - Class in org.jsoup.nodes
-
Deprecated.just use null values (vs empty string) for booleans.
- BooleanAttribute(String) - Constructor for class org.jsoup.nodes.BooleanAttribute
-
Deprecated.Create a new boolean attribute from unencoded (raw) key.
- booleanAttributes - Static variable in class org.jsoup.nodes.Attribute
- borrowBuilder() - Static method in class org.jsoup.internal.StringUtil
-
Maintains cached StringBuilders in a flyweight pattern, to minimize new StringBuilder GCs.
- boundaryLength - Static variable in class org.jsoup.helper.DataUtil
- bufferSize - Static variable in class org.jsoup.helper.DataUtil
- bufferUp() - Method in interface org.jsoup.Connection.Response
-
Read the body of the response into a local buffer, so that
Connection.Response.parse()may be called repeatedly on the same connection response (otherwise, once the response is read, its InputStream will have been drained and may not be re-read). - bufferUp() - Method in class org.jsoup.helper.HttpConnection.Response
- bufferUp() - Method in class org.jsoup.parser.CharacterReader
- bufLength - Variable in class org.jsoup.parser.CharacterReader
- bufMark - Variable in class org.jsoup.parser.CharacterReader
- bufPos - Variable in class org.jsoup.parser.CharacterReader
- bufSplitPoint - Variable in class org.jsoup.parser.CharacterReader
- builders - Static variable in class org.jsoup.internal.StringUtil
- byAttribute() - Method in class org.jsoup.select.QueryParser
- byClass() - Method in class org.jsoup.select.QueryParser
- byId() - Method in class org.jsoup.select.QueryParser
- byName(String) - Static method in enum org.jsoup.nodes.Entities.CoreCharset
- byTag() - Method in class org.jsoup.select.QueryParser
- byteData - Variable in class org.jsoup.helper.HttpConnection.Response
C
- cacheString(char[], String[], int, int) - Static method in class org.jsoup.parser.CharacterReader
-
Caches short strings, as a flywheel pattern, to reduce GC load.
- 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
- canAddError() - Method in class org.jsoup.parser.ParseErrorList
- canContainBlock() - Method in class org.jsoup.parser.Tag
-
Deprecated.No longer used, and no different result than {
Tag.isBlock()} - canContainInline - Variable in class org.jsoup.parser.Tag
- canEncode(Entities.CoreCharset, char, CharsetEncoder) - Static method in class org.jsoup.nodes.Entities
- capped - Variable in class org.jsoup.internal.ConstrainableInputStream
- CData(String) - Constructor for class org.jsoup.parser.Token.CData
- CDataNode - Class in org.jsoup.nodes
-
A Character Data node, to support CDATA sections.
- CDataNode(String) - Constructor for class org.jsoup.nodes.CDataNode
- CdataSection - org.jsoup.parser.TokeniserState
- ChangeNotifyingArrayList<E> - Class in org.jsoup.helper
-
Implementation of ArrayList that watches out for changes to the contents.
- ChangeNotifyingArrayList(int) - Constructor for class org.jsoup.helper.ChangeNotifyingArrayList
- Character - org.jsoup.parser.Token.TokenType
- Character() - Constructor for class org.jsoup.parser.Token.Character
- CharacterReader - Class in org.jsoup.parser
-
CharacterReader consumes tokens off a string.
- CharacterReader(Reader) - Constructor for class org.jsoup.parser.CharacterReader
- CharacterReader(Reader, int) - Constructor for class org.jsoup.parser.CharacterReader
- CharacterReader(String) - Constructor for class org.jsoup.parser.CharacterReader
- characterReferenceError(String) - Method in class org.jsoup.parser.Tokeniser
- CharacterReferenceInData - org.jsoup.parser.TokeniserState
- CharacterReferenceInRcdata - org.jsoup.parser.TokeniserState
- charBuf - Variable in class org.jsoup.parser.CharacterReader
- charPending - Variable in class org.jsoup.parser.Tokeniser
- charsBuilder - Variable in class org.jsoup.parser.Tokeniser
- charset - Variable in class org.jsoup.helper.DataUtil.BomCharset
- charset - Variable in class org.jsoup.helper.HttpConnection.Response
- charset - Variable in class org.jsoup.nodes.Document.OutputSettings
- charset() - Method in interface org.jsoup.Connection.Response
-
Get the character set name of the response, derived from the content-type header.
- charset() - Method in class org.jsoup.helper.HttpConnection.Response
- 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(String) - Method in interface org.jsoup.Connection.Response
-
Set / override the response character set.
- charset(String) - Method in class org.jsoup.helper.HttpConnection.Response
- charset(String) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Update the document's output charset.
- charset(Charset) - Method in class org.jsoup.nodes.Document
-
Sets the charset used in this document.
- charset(Charset) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Update the document's output charset.
- charsetPattern - Static variable in class org.jsoup.helper.DataUtil
- charsString - Variable in class org.jsoup.parser.Tokeniser
- checkCapacity(int) - Method in class org.jsoup.nodes.Attributes
- checkNotNull(String) - Static method in class org.jsoup.nodes.Attributes
- child(int) - Method in class org.jsoup.nodes.Element
-
Get a child element of this element, by its 0-based index number.
- childElementsList() - Method in class org.jsoup.nodes.Element
-
Maintains a shadow copy of this element's child elements.
- childNode(int) - Method in class org.jsoup.nodes.Node
-
Get a child node by its 0-based index.
- childNodes - Variable in class org.jsoup.nodes.Element
- 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.Element
- childNodeSize() - Method in class org.jsoup.nodes.LeafNode
- 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 - Variable in 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
classattribute to the supplied class names. - classSplit - Static variable in class org.jsoup.nodes.Element
- 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, 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(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(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.
- Cleaner.CleaningVisitor - Class in org.jsoup.safety
-
Iterates the input and copies trusted nodes (tags, attributes, text) into the destination.
- Cleaner.ElementMeta - Class in org.jsoup.safety
- CleaningVisitor(Element, Element) - Constructor for class org.jsoup.safety.Cleaner.CleaningVisitor
- clear() - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- clearAttributes() - Method in class org.jsoup.nodes.Node
-
Clear (remove) all of the attributes in this node.
- clearFormattingElementsToLastMarker() - Method in class org.jsoup.parser.HtmlTreeBuilder
- clearStackToContext(String...) - Method in class org.jsoup.parser.HtmlTreeBuilder
- clearStackToTableBodyContext() - Method in class org.jsoup.parser.HtmlTreeBuilder
- clearStackToTableContext() - Method in class org.jsoup.parser.HtmlTreeBuilder
- clearStackToTableRowContext() - Method in class org.jsoup.parser.HtmlTreeBuilder
- 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.
- codeDelims - Static variable in class org.jsoup.nodes.Entities
- codeKeys - Variable in enum org.jsoup.nodes.Entities.EscapeMode
- codepointForName(String) - Method in enum org.jsoup.nodes.Entities.EscapeMode
- codepointHolder - Variable in class org.jsoup.parser.Tokeniser
- codepointRadix - Static variable in class org.jsoup.nodes.Entities
- codepointsForName(String, int[]) - Static method in class org.jsoup.nodes.Entities
- codeVals - Variable in enum org.jsoup.nodes.Entities.EscapeMode
- 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.
- Collector() - Constructor for class org.jsoup.select.Collector
- Collector.Accumulator - Class in org.jsoup.select
- Collector.FirstFinder - Class in org.jsoup.select
- combinator(char) - Method in class org.jsoup.select.QueryParser
- combinators - Static variable in class org.jsoup.select.QueryParser
- CombiningEvaluator - Class in org.jsoup.select
-
Base combining (and, or) evaluator.
- CombiningEvaluator() - Constructor for class org.jsoup.select.CombiningEvaluator
- CombiningEvaluator(Collection<Evaluator>) - Constructor for class org.jsoup.select.CombiningEvaluator
- CombiningEvaluator.And - Class in org.jsoup.select
- CombiningEvaluator.Or - Class in org.jsoup.select
- Comment - Class in org.jsoup.nodes
-
A comment node.
- Comment - org.jsoup.parser.Token.TokenType
- Comment - org.jsoup.parser.TokeniserState
- Comment() - Constructor for class org.jsoup.parser.Token.Comment
- Comment(String) - Constructor for class org.jsoup.nodes.Comment
-
Create a new comment node.
- Comment(String, String) - Constructor for class org.jsoup.nodes.Comment
-
Deprecated.
- COMMENT_KEY - Static variable in class org.jsoup.nodes.Comment
- CommentEnd - org.jsoup.parser.TokeniserState
- CommentEndBang - org.jsoup.parser.TokeniserState
- CommentEndDash - org.jsoup.parser.TokeniserState
- commentPending - Variable in class org.jsoup.parser.Tokeniser
- CommentStart - org.jsoup.parser.TokeniserState
- CommentStartDash - org.jsoup.parser.TokeniserState
- conn - Variable in class org.jsoup.helper.HttpConnection.Response
- connect(String) - Static method in class org.jsoup.helper.HttpConnection
- connect(String) - Static method in class org.jsoup.Jsoup
-
Creates a new
Connectionto a URL. - connect(URL) - Static method in class org.jsoup.helper.HttpConnection
- 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(+), used for form data.
- 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.
- Constants() - Constructor for class org.jsoup.parser.HtmlTreeBuilderState.Constants
- ConstrainableInputStream - Class in org.jsoup.internal
-
A jsoup internal class (so don't use it as there is no contract API) that enables constraints on an Input Stream, namely a maximum read size, and the ability to Thread.interrupt() the read.
- ConstrainableInputStream(InputStream, int, int) - Constructor for class org.jsoup.internal.ConstrainableInputStream
- consume() - Method in class org.jsoup.parser.CharacterReader
- 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, -, _, :")
- consumeCharacterReference(Character, boolean) - Method in class org.jsoup.parser.Tokeniser
- 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
- consumeData() - Method in class org.jsoup.parser.CharacterReader
- consumeDigitSequence() - Method in class org.jsoup.parser.CharacterReader
- consumeElementSelector() - Method in class org.jsoup.parser.TokenQueue
-
Consume a CSS element selector (tag name, but | instead of : for namespaces (or *| for wildcard namespace), to not conflict with :pseudo selects).
- consumeHexSequence() - Method in class org.jsoup.parser.CharacterReader
- consumeIndex() - Method in class org.jsoup.select.QueryParser
- consumeLetterSequence() - Method in class org.jsoup.parser.CharacterReader
- consumeLetterThenDigitSequence() - Method in class org.jsoup.parser.CharacterReader
- consumeSubQuery() - Method in class org.jsoup.select.QueryParser
- consumeTagName() - Method in class org.jsoup.parser.CharacterReader
- consumeTagName() - Method in class org.jsoup.parser.TokenQueue
-
Consume an tag name off the queue (word or :, _, -)
- consumeTo(char) - Method in class org.jsoup.parser.CharacterReader
-
Reads characters up to the specific char.
- consumeTo(String) - Method in class org.jsoup.parser.CharacterReader
- 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(char...) - Method in class org.jsoup.parser.CharacterReader
-
Read characters until the first of any delimiters is found.
- consumeToAny(String...) - Method in class org.jsoup.parser.TokenQueue
-
Consumes to the first sequence provided, or to the end of the queue.
- consumeToAnySorted(char...) - Method in class org.jsoup.parser.CharacterReader
- consumeToEnd() - Method in class org.jsoup.parser.CharacterReader
- 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.
- contains(boolean) - Method in class org.jsoup.select.QueryParser
- containsData() - Method in class org.jsoup.select.QueryParser
- ContainsData(String) - Constructor for class org.jsoup.select.Evaluator.ContainsData
- containsIgnoreCase(String) - Method in class org.jsoup.parser.CharacterReader
- 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
- CONTENT_TYPE - Static variable in class org.jsoup.helper.HttpConnection
- contentType - Variable in class org.jsoup.helper.HttpConnection.KeyVal
- contentType - Variable in class org.jsoup.helper.HttpConnection.Response
- contentType() - Method in interface org.jsoup.Connection.KeyVal
-
Get the current Content Type, or
nullif not set. - contentType() - Method in interface org.jsoup.Connection.Response
-
Get the response content type (e.g.
- contentType() - Method in class org.jsoup.helper.HttpConnection.KeyVal
- contentType() - Method in class org.jsoup.helper.HttpConnection.Response
- contentType(String) - Method in interface org.jsoup.Connection.KeyVal
-
Set the Content Type header used in the MIME body (aka mimetype) when uploading files.
- contentType(String) - Method in class org.jsoup.helper.HttpConnection.KeyVal
- contextElement - Variable in class org.jsoup.parser.HtmlTreeBuilder
- CONTINUE - org.jsoup.select.NodeFilter.FilterResult
-
Continue processing the tree
- 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) - Method in class org.jsoup.helper.HttpConnection.Base
- 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.Base
- cookie(String, String) - Method in class org.jsoup.helper.HttpConnection
- cookies - Variable in class org.jsoup.helper.HttpConnection.Base
- cookies() - Method in interface org.jsoup.Connection.Base
-
Retrieve all of the request/response cookies as a map
- cookies() - Method in class org.jsoup.helper.HttpConnection.Base
- 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
- copyAttributes(Node, Element) - Method in class org.jsoup.helper.W3CDom.W3CBuilder
- copyOf(String[], int) - Static method in class org.jsoup.nodes.Attributes
- copySafeNodes(Element, Element) - Method in class org.jsoup.safety.Cleaner
- coreCharset - Variable in class org.jsoup.nodes.Document.OutputSettings
- CoreCharset() - Constructor for enum org.jsoup.nodes.Entities.CoreCharset
- coreValue() - Method in class org.jsoup.nodes.LeafNode
- coreValue(String) - Method in class org.jsoup.nodes.LeafNode
- 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
- createCommentPending() - Method in class org.jsoup.parser.Tokeniser
- createConnection(Connection.Request) - Static method in class org.jsoup.helper.HttpConnection.Response
- createDoctypePending() - Method in class org.jsoup.parser.Tokeniser
- createElement(String) - Method in class org.jsoup.nodes.Document
-
Create a new Element, with this document's base uri.
- createFromEncoded(String) - Static method in class org.jsoup.nodes.TextNode
-
Create a new TextNode from HTML encoded (aka escaped) data.
- 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
-
Deprecated.use
TextNode.createFromEncoded(String)instead, as LeafNodes don't carry base URIs. - createHeaderMap(HttpURLConnection) - Static method in class org.jsoup.helper.HttpConnection.Response
- createSafeElement(Element) - Method in class org.jsoup.safety.Cleaner
- createShell(String) - Static method in class org.jsoup.nodes.Document
-
Create a valid, empty shell of a document, suitable for adding more elements to.
- createTagPending(boolean) - Method in class org.jsoup.parser.Tokeniser
- createTempBuffer() - Method in class org.jsoup.parser.Tokeniser
- crossStreams(InputStream, OutputStream) - Static method in class org.jsoup.helper.DataUtil
-
Writes the input stream to the output stream.
- cssNthChild(boolean, boolean) - Method in class org.jsoup.select.QueryParser
- CssNthEvaluator(int) - Constructor for class org.jsoup.select.Evaluator.CssNthEvaluator
- CssNthEvaluator(int, 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.
- current() - Method in class org.jsoup.parser.CharacterReader
-
Get the char at the current position.
- currentElement() - Method in class org.jsoup.parser.TreeBuilder
- currentNodeInHtmlNS() - Method in class org.jsoup.parser.Tokeniser
- currentToken - Variable in class org.jsoup.parser.TreeBuilder
D
- data - Variable in class org.jsoup.helper.HttpConnection.Request
- data - Variable in class org.jsoup.parser.Token.Character
- data - Variable in class org.jsoup.parser.Token.Comment
- data() - Method in interface org.jsoup.Connection.Request
-
Get all of the request's data parameters
- data() - Method in class org.jsoup.helper.HttpConnection.Request
- data() - Method in class org.jsoup.nodes.Element
-
Get the combined data of this element.
- data(String) - Method in interface org.jsoup.Connection
-
Get the data KeyVal for this key, if any
- data(String) - Method in class org.jsoup.helper.HttpConnection
- data(String) - Method in class org.jsoup.parser.Token.Character
- data(String...) - Method in interface org.jsoup.Connection
-
Add a number of request data parameters.
- data(String...) - Method in class org.jsoup.helper.HttpConnection
- data(String, String) - Method in interface org.jsoup.Connection
-
Add a request data parameter.
- data(String, String) - Method in class org.jsoup.helper.HttpConnection
- data(String, String, InputStream) - Method in interface org.jsoup.Connection
-
Add an input stream as a request data parameter.
- data(String, String, InputStream) - Method in class org.jsoup.helper.HttpConnection
- data(String, String, InputStream, String) - Method in interface org.jsoup.Connection
-
Add an input stream as a request data parameter.
- data(String, String, InputStream, String) - Method in class org.jsoup.helper.HttpConnection
- data(Collection<Connection.KeyVal>) - Method in interface org.jsoup.Connection
-
Adds all of the supplied data to the request data parameters
- data(Collection<Connection.KeyVal>) - Method in class org.jsoup.helper.HttpConnection
- data(Map<String, String>) - Method in interface org.jsoup.Connection
-
Adds all of the supplied data to the request data parameters
- data(Map<String, String>) - Method in class org.jsoup.helper.HttpConnection
- data(Connection.KeyVal) - Method in interface org.jsoup.Connection.Request
-
Add a data parameter to the request
- data(Connection.KeyVal) - Method in class org.jsoup.helper.HttpConnection.Request
- Data - org.jsoup.parser.TokeniserState
- dataBuffer - Variable in class org.jsoup.parser.Tokeniser
- dataKey(String) - Static method in class org.jsoup.nodes.Attributes
- 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) - Constructor for class org.jsoup.nodes.DataNode
-
Create a new DataNode.
- DataNode(String, String) - Constructor for class org.jsoup.nodes.DataNode
-
Deprecated.use
DataNode(String)instead - 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.
- Dataset(Attributes) - Constructor for class org.jsoup.nodes.Attributes.Dataset
- DatasetIterator() - Constructor for class org.jsoup.nodes.Attributes.Dataset.DatasetIterator
- DataUtil - Class in org.jsoup.helper
-
Internal static utilities for handling data.
- DataUtil() - Constructor for class org.jsoup.helper.DataUtil
- DataUtil.BomCharset - Class in org.jsoup.helper
- DdDt - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- DEFAULT_UA - Static variable in class org.jsoup.helper.HttpConnection
-
Many users would get caught by not setting a user-agent and therefore getting different responses on their desktop vs in jsoup, which would otherwise default to
Java. - defaultCharset - Static variable in class org.jsoup.helper.DataUtil
- DefaultOutput - Static variable in class org.jsoup.nodes.Entities
- defaultSettings() - Method in class org.jsoup.parser.HtmlTreeBuilder
- defaultSettings() - Method in class org.jsoup.parser.TreeBuilder
- defaultSettings() - Method in class org.jsoup.parser.XmlTreeBuilder
- DefaultSize - Static variable in class org.jsoup.internal.ConstrainableInputStream
- DefaultUploadType - Static variable in class org.jsoup.helper.HttpConnection
- DELETE - org.jsoup.Connection.Method
- dest - Variable in class org.jsoup.helper.W3CDom.W3CBuilder
- destination - Variable in class org.jsoup.safety.Cleaner.CleaningVisitor
- detectCharsetFromBom(ByteBuffer) - Static method in class org.jsoup.helper.DataUtil
- doc - Variable in class org.jsoup.helper.W3CDom.W3CBuilder
- doc - Variable in class org.jsoup.parser.TreeBuilder
- doClone(Node) - Method in class org.jsoup.nodes.Element
- doClone(Node) - Method in class org.jsoup.nodes.Node
- Doctype - org.jsoup.parser.Token.TokenType
- Doctype - org.jsoup.parser.TokeniserState
- Doctype() - Constructor for class org.jsoup.parser.Token.Doctype
- DoctypeName - org.jsoup.parser.TokeniserState
- doctypePending - Variable in class org.jsoup.parser.Tokeniser
- DoctypePublicIdentifier_doubleQuoted - org.jsoup.parser.TokeniserState
- DoctypePublicIdentifier_singleQuoted - org.jsoup.parser.TokeniserState
- DoctypeSystemIdentifier_doubleQuoted - org.jsoup.parser.TokeniserState
- DoctypeSystemIdentifier_singleQuoted - org.jsoup.parser.TokeniserState
- 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) - Constructor for class org.jsoup.nodes.DocumentType
-
Create a new doctype element.
- DocumentType(String, String, String, String) - Constructor for class org.jsoup.nodes.DocumentType
-
Deprecated.
- DocumentType(String, String, String, String, String) - Constructor for class org.jsoup.nodes.DocumentType
-
Deprecated.
- doSetBaseUri(String) - Method in class org.jsoup.nodes.Element
- doSetBaseUri(String) - Method in class org.jsoup.nodes.LeafNode
- doSetBaseUri(String) - Method in class org.jsoup.nodes.Node
-
Set the baseUri for just this node (not its descendants), if this Node tracks base URIs.
E
- eachAttr(String) - Method in class org.jsoup.select.Elements
-
Get the attribute value for each of the matched elements.
- eachText() - Method in class org.jsoup.select.Elements
-
Get the text content of each of the matched elements.
- el - Variable in class org.jsoup.safety.Cleaner.ElementMeta
- 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(String) - 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.
- Element(Tag, String, Attributes) - Constructor for class org.jsoup.nodes.Element
-
Create a new, standalone Element.
- Element.NodeList - Class in org.jsoup.nodes
- ElementMeta(Element, int) - Constructor for class org.jsoup.safety.Cleaner.ElementMeta
- elements - Variable in class org.jsoup.nodes.FormElement
- elements - Variable in class org.jsoup.select.Collector.Accumulator
- 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
Elements, 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.
- emit(char) - Method in class org.jsoup.parser.Tokeniser
- emit(char[]) - Method in class org.jsoup.parser.Tokeniser
- emit(int[]) - Method in class org.jsoup.parser.Tokeniser
- emit(String) - Method in class org.jsoup.parser.Tokeniser
- emit(Token) - Method in class org.jsoup.parser.Tokeniser
- emitCommentPending() - Method in class org.jsoup.parser.Tokeniser
- emitDoctypePending() - Method in class org.jsoup.parser.Tokeniser
- emitPending - Variable in class org.jsoup.parser.Tokeniser
- emitTagPending() - Method in class org.jsoup.parser.Tokeniser
- empty - Static variable in class org.jsoup.nodes.Entities
- empty - Variable in class org.jsoup.parser.Tag
- 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.
- Empty - Static variable in class org.jsoup.nodes.Attributes
- EMPTY_NODES - Static variable in class org.jsoup.nodes.Element
- emptyByteBuffer() - Static method in class org.jsoup.helper.DataUtil
- emptyEnd - Variable in class org.jsoup.parser.HtmlTreeBuilder
- emptyName - Static variable in class org.jsoup.nodes.Entities
- EmptyNodes - Static variable in class org.jsoup.nodes.LeafNode
- EmptyString - Static variable in class org.jsoup.nodes.Attributes
- EmptyString - Static variable in class org.jsoup.nodes.Node
- emptyTags - Static variable in class org.jsoup.parser.Tag
- encodeMimeName(String) - Static method in class org.jsoup.helper.HttpConnection
- encoder() - Method in class org.jsoup.nodes.Document.OutputSettings
- encoderThreadLocal - Variable in class org.jsoup.nodes.Document.OutputSettings
- encodeUrl(String) - Static method in class org.jsoup.helper.HttpConnection
-
Encodes the input URL into a safe ASCII URL string
- encodeUrl(URL) - Static method in class org.jsoup.helper.HttpConnection
- end - Variable in class org.jsoup.parser.TreeBuilder
- endPending - Variable in class org.jsoup.parser.Tokeniser
- EndTag - org.jsoup.parser.Token.TokenType
- EndTag() - Constructor for class org.jsoup.parser.Token.EndTag
- EndTagOpen - org.jsoup.parser.TokeniserState
- enforcedAttributes - Variable in class org.jsoup.safety.Whitelist
- ensureAttributes() - Method in class org.jsoup.nodes.LeafNode
- ensureAttributeValue() - Method in class org.jsoup.parser.Token.Tag
- ensureChildNodes() - Method in class org.jsoup.nodes.Element
- ensureChildNodes() - Method in class org.jsoup.nodes.LeafNode
- ensureChildNodes() - Method in class org.jsoup.nodes.Node
- ensureMetaCharsetElement() - Method in class org.jsoup.nodes.Document
-
Ensures a meta charset (html) or xml declaration (xml) with the current encoding used.
- Entities - Class in org.jsoup.nodes
-
HTML entities, and escape routines.
- Entities() - Constructor for class org.jsoup.nodes.Entities
- Entities.CoreCharset - Enum in org.jsoup.nodes
- Entities.EscapeMode - Enum in org.jsoup.nodes
- EntitiesData - Class in org.jsoup.nodes
-
Holds packed data that represents Entity name=value pairs.
- EntitiesData() - Constructor for class org.jsoup.nodes.EntitiesData
- entrySet() - Method in class org.jsoup.nodes.Attributes.Dataset
- EntrySet() - Constructor for class org.jsoup.nodes.Attributes.Dataset.EntrySet
- eof - Static variable in enum org.jsoup.parser.TokeniserState
- EOF - org.jsoup.parser.Token.TokenType
- EOF - Static variable in class org.jsoup.parser.CharacterReader
- EOF() - Constructor for class org.jsoup.parser.Token.EOF
- eofError(TokeniserState) - Method in class org.jsoup.parser.Tokeniser
- 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
- equals(Object) - Method in class org.jsoup.safety.Whitelist.TypedValue
- error(String) - Method in class org.jsoup.parser.Tokeniser
- error(HtmlTreeBuilderState) - Method in class org.jsoup.parser.HtmlTreeBuilder
- error(TokeniserState) - Method in class org.jsoup.parser.Tokeniser
- errorMsg - Variable in class org.jsoup.parser.ParseError
- errors - Variable in class org.jsoup.parser.Parser
- errors - Variable in class org.jsoup.parser.Tokeniser
- ESC - Static variable in class org.jsoup.parser.TokenQueue
- escape(Appendable, String, Document.OutputSettings, boolean, boolean, boolean) - Static method in class org.jsoup.nodes.Entities
- escape(String) - Static method in class org.jsoup.nodes.Entities
-
HTML escape an input string, using the default settings (UTF-8, base entities).
- escape(String, Document.OutputSettings) - Static method in class org.jsoup.nodes.Entities
-
HTML escape an input string.
- escapeMode - Variable in class org.jsoup.nodes.Document.OutputSettings
- 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; orextended, 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.
- EscapeMode(String, int) - Constructor for enum org.jsoup.nodes.Entities.EscapeMode
- eval - Variable in class org.jsoup.select.Collector.Accumulator
- eval - Variable in class org.jsoup.select.Collector.FirstFinder
- evals - Variable in class org.jsoup.select.QueryParser
- evaluator - Variable in class org.jsoup.select.StructuralEvaluator
- 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.ContainsData - Class in org.jsoup.select
-
Evaluator for matching Element (and its descendants) data
- 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.MatchText - Class in org.jsoup.select
- Evaluator.Tag - Class in org.jsoup.select
-
Evaluator for tag name
- Evaluator.TagEndsWith - Class in org.jsoup.select
-
Evaluator for tag name that ends with
- evaluators - Variable in class org.jsoup.select.CombiningEvaluator
- execute() - Method in interface org.jsoup.Connection
-
Execute the request.
- execute() - Method in class org.jsoup.helper.HttpConnection
- execute(Connection.Request) - Static method in class org.jsoup.helper.HttpConnection.Response
- execute(Connection.Request, HttpConnection.Response) - Static method in class org.jsoup.helper.HttpConnection.Response
- executed - Variable in class org.jsoup.helper.HttpConnection.Response
- expired() - Method in class org.jsoup.internal.ConstrainableInputStream
- extended - org.jsoup.nodes.Entities.EscapeMode
-
Complete HTML entities.
F
- factory - Variable in class org.jsoup.helper.W3CDom
- fail(String) - Static method in class org.jsoup.helper.Validate
-
Cause a failure.
- fallback - org.jsoup.nodes.Entities.CoreCharset
- filter(NodeFilter) - Method in class org.jsoup.nodes.Node
-
Perform a depth-first filtering through this node and its descendants.
- filter(NodeFilter) - Method in class org.jsoup.select.Elements
-
Perform a depth-first filtering on each of the selected elements.
- filter(NodeFilter, Node) - Static method in class org.jsoup.select.NodeTraversor
-
Start a depth-first filtering of the root and all of its descendants.
- filter(NodeFilter, Elements) - Static method in class org.jsoup.select.NodeTraversor
-
Start a depth-first filtering of all elements.
- filterOut(Collection<Element>, Collection<Element>) - Static method in class org.jsoup.select.Selector
- FilterResult() - Constructor for enum org.jsoup.select.NodeFilter.FilterResult
- finaliseTag() - Method in class org.jsoup.parser.Token.Tag
- findElements() - Method in class org.jsoup.select.QueryParser
- findFirst(Evaluator, Element) - Static method in class org.jsoup.select.Collector
- findFirstElementByTagName(String, Node) - Method in class org.jsoup.nodes.Document
- first() - Method in class org.jsoup.select.Elements
-
Get the first matched element.
- firstElementSibling() - Method in class org.jsoup.nodes.Element
-
Gets the first element sibling of this element.
- FirstFinder(Element, Evaluator) - Constructor for class org.jsoup.select.Collector.FirstFinder
- firstReadBufferSize - Static variable in class org.jsoup.helper.DataUtil
- fixHeaderEncoding(String) - Static method in class org.jsoup.helper.HttpConnection.Base
- followRedirects - Variable in class org.jsoup.helper.HttpConnection.Request
- followRedirects() - Method in interface org.jsoup.Connection.Request
-
Get the current followRedirects configuration.
- followRedirects() - Method in class org.jsoup.helper.HttpConnection.Request
- followRedirects(boolean) - Method in interface org.jsoup.Connection
-
Configures the connection to (not) follow server redirects.
- followRedirects(boolean) - Method in interface org.jsoup.Connection.Request
-
Configures the request to (not) follow server redirects.
- followRedirects(boolean) - Method in class org.jsoup.helper.HttpConnection
- followRedirects(boolean) - Method in class org.jsoup.helper.HttpConnection.Request
- forceQuirks - Variable in class org.jsoup.parser.Token.Doctype
- ForeignContent - org.jsoup.parser.HtmlTreeBuilderState
- FORM_URL_ENCODED - Static variable in class org.jsoup.helper.HttpConnection
- formatAsBlock - Variable in class org.jsoup.parser.Tag
- formatAsBlock() - Method in class org.jsoup.parser.Tag
-
Gets if this tag should be formatted as a block (or as inline)
- formatAsInlineTags - Static variable in class org.jsoup.parser.Tag
- Formatters - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- formattingElements - Variable in class org.jsoup.parser.HtmlTreeBuilder
- FormattingVisitor() - Constructor for class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- formData() - Method in class org.jsoup.nodes.FormElement
-
Get the data that this form submits.
- formElement - Variable in class org.jsoup.parser.HtmlTreeBuilder
- FormElement - Class in org.jsoup.nodes
-
A HTML Form Element provides ready access to the form fields/controls that are associated with it.
- FormElement(Tag, String, Attributes) - Constructor for class org.jsoup.nodes.FormElement
-
Create a new, standalone form element.
- formList - Variable in class org.jsoup.parser.Tag
- formListedTags - Static variable in class org.jsoup.parser.Tag
- forms() - Method in class org.jsoup.select.Elements
-
Get the
FormElementforms from the selected elements, if any. - formSubmit - Variable in class org.jsoup.parser.Tag
- formSubmitTags - Static variable in class org.jsoup.parser.Tag
- fosterInserts - Variable in class org.jsoup.parser.HtmlTreeBuilder
- fragmentParsing - Variable in class org.jsoup.parser.HtmlTreeBuilder
- framesetOk - Variable in class org.jsoup.parser.HtmlTreeBuilder
- framesetOk() - Method in class org.jsoup.parser.HtmlTreeBuilder
- framesetOk(boolean) - Method in class org.jsoup.parser.HtmlTreeBuilder
- fromJsoup(Document) - Method in class org.jsoup.helper.W3CDom
-
Convert a jsoup Document to a W3C Document.
- fullPoints - Static variable in class org.jsoup.nodes.EntitiesData
G
- generateImpliedEndTags() - Method in class org.jsoup.parser.HtmlTreeBuilder
- generateImpliedEndTags(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
-
11.2.5.2 Closing elements that have implied end tags
- 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.
- GET - org.jsoup.Connection.Method
- getActiveFormattingElement(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- getAllElements() - Method in class org.jsoup.nodes.Element
-
Find all elements under this element (including self, and children of children).
- getAttributes() - Method in class org.jsoup.parser.Token.Tag
- getBaseUri() - Method in class org.jsoup.parser.HtmlTreeBuilder
- getByName(String) - Static method in class org.jsoup.nodes.Entities
-
Get the character(s) represented by the named entity
- getCharacterByName(String) - Static method in class org.jsoup.nodes.Entities
-
Deprecated.does not support characters outside the BMP or multiple character names
- getCharsetFromContentType(String) - Static method in class org.jsoup.helper.DataUtil
-
Parse out a charset from a content type header.
- getData() - Method in class org.jsoup.nodes.Comment
-
Get the contents of the comment.
- getData() - Method in class org.jsoup.parser.Token.Character
- getData() - Method in class org.jsoup.parser.Token.Comment
- getDeepChild(Element) - Method in class org.jsoup.nodes.Node
- getDocument() - Method in class org.jsoup.parser.HtmlTreeBuilder
- 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, String) - Method in class org.jsoup.nodes.Element
-
Find elements that have attributes whose values match the supplied regular expression.
- getElementsByAttributeValueMatching(String, Pattern) - 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(String) - Method in class org.jsoup.nodes.Element
-
Find elements whose text matches the supplied regular expression.
- getElementsMatchingOwnText(Pattern) - Method in class org.jsoup.nodes.Element
-
Find elements whose own text matches the supplied regular expression.
- getElementsMatchingText(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.
- getEnforcedAttributes(String) - Method in class org.jsoup.safety.Whitelist
- 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.
- getFormElement() - Method in class org.jsoup.parser.HtmlTreeBuilder
- getFromStack(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- getHeadElement() - Method in class org.jsoup.parser.HtmlTreeBuilder
- getHeadersCaseInsensitive(String) - Method in class org.jsoup.helper.HttpConnection.Base
- getIgnoreCase(String) - Method in class org.jsoup.nodes.Attributes
-
Get an attribute's value by case-insensitive key
- getKey() - Method in class org.jsoup.nodes.Attribute
-
Get the attribute key.
- getMaxSize() - Method in class org.jsoup.parser.ParseErrorList
- getMimeType() - Method in exception org.jsoup.UnsupportedMimeTypeException
- getName() - Method in class org.jsoup.parser.Tag
-
Get this tag's name.
- getName() - Method in class org.jsoup.parser.Token.Doctype
- getPendingTableCharacters() - Method in class org.jsoup.parser.HtmlTreeBuilder
- 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
- getPublicIdentifier() - Method in class org.jsoup.parser.Token.Doctype
- getPubSysKey() - Method in class org.jsoup.parser.Token.Doctype
- getRequestCookieString(Connection.Request) - Static method in class org.jsoup.helper.HttpConnection.Response
- getStack() - Method in class org.jsoup.parser.HtmlTreeBuilder
- getState() - Method in class org.jsoup.parser.Tokeniser
- getStatusCode() - Method in exception org.jsoup.HttpStatusException
- getSystemIdentifier() - Method in class org.jsoup.parser.Token.Doctype
- 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.
- getWholeDeclaration(Appendable, Document.OutputSettings) - Method in class org.jsoup.nodes.XmlDeclaration
- 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.
- GrowthFactor - Static variable in class org.jsoup.nodes.Attributes
H
- handleDataDoubleEscapeTag(Tokeniser, CharacterReader, TokeniserState, TokeniserState) - Static method in enum org.jsoup.parser.TokeniserState
- handleDataEndTag(Tokeniser, CharacterReader, TokeniserState) - Static method in enum org.jsoup.parser.TokeniserState
-
Handles RawtextEndTagName, ScriptDataEndTagName, and ScriptDataEscapedEndTagName.
- handleRawtext(Token.StartTag, HtmlTreeBuilder) - Static method in enum org.jsoup.parser.HtmlTreeBuilderState
- handleRcData(Token.StartTag, HtmlTreeBuilder) - Static method in enum org.jsoup.parser.HtmlTreeBuilderState
- has() - Method in class org.jsoup.select.QueryParser
- has(String) - Method in class org.jsoup.nodes.DocumentType
- Has(Evaluator) - Constructor for class org.jsoup.select.StructuralEvaluator.Has
- hasAttr(String) - Method in class org.jsoup.nodes.LeafNode
- hasAttr(String) - Method in class org.jsoup.nodes.Node
-
Test if this element has an attribute.
- hasAttr(String) - Method in class org.jsoup.select.Elements
-
Checks if any of the matched elements have this attribute defined.
- hasAttributes() - Method in class org.jsoup.nodes.Element
- hasAttributes() - Method in class org.jsoup.nodes.LeafNode
- hasAttributes() - Method in class org.jsoup.nodes.Node
-
Check if this Node has an actual Attributes object.
- hasBody - Variable in enum org.jsoup.Connection.Method
- 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
classattribute. - hasCookie(String) - Method in interface org.jsoup.Connection.Base
-
Check if a cookie is present
- hasCookie(String) - Method in class org.jsoup.helper.HttpConnection.Base
- hasEmptyAttributeValue - Variable in class org.jsoup.parser.Token.Tag
- 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
- hashCode() - Method in class org.jsoup.safety.Whitelist.TypedValue
- hasHeader(String) - Method in interface org.jsoup.Connection.Base
-
Check if a header is present
- hasHeader(String) - Method in class org.jsoup.helper.HttpConnection.Base
- hasHeaderWithValue(String, String) - Method in interface org.jsoup.Connection.Base
-
Check if a header is present, with the given value
- hasHeaderWithValue(String, String) - Method in class org.jsoup.helper.HttpConnection.Base
-
Test if the request has a header with this value (case insensitive).
- 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.
- hasKeyIgnoreCase(String) - Method in class org.jsoup.nodes.Attributes
-
Tests if these attributes contain an attribute with this key.
- hasNext() - Method in class org.jsoup.nodes.Attributes.Dataset.DatasetIterator
- hasParent() - Method in class org.jsoup.nodes.Node
- hasPendingAttributeValue - Variable in class org.jsoup.parser.Token.Tag
- 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
-
Test if any matched Element has any text content, that is not just whitespace.
- head() - Method in class org.jsoup.nodes.Document
-
Accessor to the document's
headelement. - head(Node, int) - Method in class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- head(Node, int) - Method in class org.jsoup.helper.W3CDom.W3CBuilder
- head(Node, int) - Method in class org.jsoup.nodes.Node.OuterHtmlVisitor
- head(Node, int) - Method in class org.jsoup.safety.Cleaner.CleaningVisitor
- head(Node, int) - Method in class org.jsoup.select.Collector.Accumulator
- head(Node, int) - Method in class org.jsoup.select.Collector.FirstFinder
- head(Node, int) - Method in interface org.jsoup.select.NodeFilter
-
Callback for when a node is first visited.
- head(Node, int) - Method in interface org.jsoup.select.NodeVisitor
-
Callback for when a node is first visited.
- HEAD - org.jsoup.Connection.Method
- headElement - Variable in class org.jsoup.parser.HtmlTreeBuilder
- header(String) - Method in interface org.jsoup.Connection.Base
-
Get the value of a header.
- header(String) - Method in class org.jsoup.helper.HttpConnection.Base
- 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.Base
- header(String, String) - Method in class org.jsoup.helper.HttpConnection
- headers - Variable in class org.jsoup.helper.HttpConnection.Base
- headers() - Method in interface org.jsoup.Connection.Base
-
Retrieve all of the request/response header names and corresponding values as a map.
- headers() - Method in class org.jsoup.helper.HttpConnection.Base
- headers(String) - Method in interface org.jsoup.Connection.Base
-
Get the values of a header.
- headers(String) - Method in class org.jsoup.helper.HttpConnection.Base
- headers(Map<String, String>) - Method in interface org.jsoup.Connection
-
Adds each of the supplied headers to the request.
- headers(Map<String, String>) - Method in class org.jsoup.helper.HttpConnection
- Headings - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- html - org.jsoup.nodes.Document.OutputSettings.Syntax
- html() - Method in class org.jsoup.nodes.Attribute
-
Get the HTML representation of this attribute; e.g.
- 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() - Method in class org.jsoup.select.Elements
-
Get the combined inner HTML of all matched elements.
- html(Appendable, Document.OutputSettings) - Method in class org.jsoup.nodes.Attribute
- html(Appendable, Document.OutputSettings) - Method in class org.jsoup.nodes.Attributes
- html(String) - Method in class org.jsoup.nodes.Element
-
Set this element's inner HTML.
- html(String) - Method in class org.jsoup.select.Elements
-
Set the inner HTML of each matched element.
- html(String, String, Appendable, Document.OutputSettings) - Static method in class org.jsoup.nodes.Attribute
- html(T) - Method in class org.jsoup.nodes.Element
- html(T) - Method in class org.jsoup.nodes.Node
-
Write this node and its children to the given
Appendable. - htmlDefault - Static variable in class org.jsoup.parser.ParseSettings
-
HTML default settings: both tag and attribute names are lower-cased during parsing.
- 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
- HtmlToPlainText.FormattingVisitor - Class in org.jsoup.examples
- HtmlTreeBuilder - Class in org.jsoup.parser
-
HTML Tree Builder; creates a DOM from Tokens.
- HtmlTreeBuilder() - Constructor for class org.jsoup.parser.HtmlTreeBuilder
- HtmlTreeBuilderState - Enum in org.jsoup.parser
-
The Tree Builder's current state.
- HtmlTreeBuilderState() - Constructor for enum org.jsoup.parser.HtmlTreeBuilderState
- HtmlTreeBuilderState.Constants - Class in org.jsoup.parser
- HTTP_TEMP_REDIR - Static variable in class org.jsoup.helper.HttpConnection
- HttpConnection - Class in org.jsoup.helper
-
Implementation of
Connection. - HttpConnection() - Constructor for class org.jsoup.helper.HttpConnection
- HttpConnection.Base<T extends Connection.Base> - 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
I
- id - Variable in class org.jsoup.select.Evaluator.Id
- id() - Method in class org.jsoup.nodes.Element
-
Get the
idattribute of this element. - Id(String) - Constructor for class org.jsoup.select.Evaluator.Id
- ignoreContentType - Variable in class org.jsoup.helper.HttpConnection.Request
- ignoreContentType() - Method in interface org.jsoup.Connection.Request
-
Get the current ignoreContentType configuration.
- ignoreContentType() - Method in class org.jsoup.helper.HttpConnection.Request
- ignoreContentType(boolean) - Method in interface org.jsoup.Connection
-
Ignore the document's Content-Type when parsing the response.
- 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(boolean) - Method in class org.jsoup.helper.HttpConnection.Request
- ignoreHttpErrors - Variable in class org.jsoup.helper.HttpConnection.Request
- ignoreHttpErrors() - Method in interface org.jsoup.Connection.Request
-
Get the current ignoreHttpErrors configuration.
- ignoreHttpErrors() - 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(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(boolean) - Method in class org.jsoup.helper.HttpConnection.Request
- ImmediateParent(Evaluator) - Constructor for class org.jsoup.select.StructuralEvaluator.ImmediateParent
- ImmediatePreviousSibling(Evaluator) - Constructor for class org.jsoup.select.StructuralEvaluator.ImmediatePreviousSibling
- in(String, String...) - Static method in class org.jsoup.internal.StringUtil
- InBody - org.jsoup.parser.HtmlTreeBuilderState
- InBodyEndAdoptionFormatters - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyEndClosers - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyEndTableFosters - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartApplets - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartDrop - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartEmptyFormatters - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartInputAttribs - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartLiBreakers - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartMedia - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartOptions - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartPClosers - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartPreListing - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartRuby - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InBodyStartToHead - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- inButtonScope(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- InCaption - org.jsoup.parser.HtmlTreeBuilderState
- InCell - org.jsoup.parser.HtmlTreeBuilderState
- InCellBody - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InCellCol - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InCellNames - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InCellTable - Static variable in class org.jsoup.parser.HtmlTreeBuilderState.Constants
- InColumnGroup - org.jsoup.parser.HtmlTreeBuilderState
- indent(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Node
- indentAmount - Variable in class org.jsoup.nodes.Document.OutputSettings
- 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
- index - Variable in class org.jsoup.select.Evaluator.IndexEvaluator
- indexEquals() - Method in class org.jsoup.select.QueryParser
- IndexEquals(int) - Constructor for class org.jsoup.select.Evaluator.IndexEquals
- IndexEvaluator(int) - Constructor for class org.jsoup.select.Evaluator.IndexEvaluator
- indexGreaterThan() - Method in class org.jsoup.select.QueryParser
- IndexGreaterThan(int) - Constructor for class org.jsoup.select.Evaluator.IndexGreaterThan
- indexInList(Element, List<E>) - Static method in class org.jsoup.nodes.Element
- indexLessThan() - Method in class org.jsoup.select.QueryParser
- IndexLessThan(int) - Constructor for class org.jsoup.select.Evaluator.IndexLessThan
- indexOfKey(String) - Method in class org.jsoup.nodes.Attributes
- indexOfKeyIgnoreCase(String) - Method in class org.jsoup.nodes.Attributes
- InFrameset - org.jsoup.parser.HtmlTreeBuilderState
- InHead - org.jsoup.parser.HtmlTreeBuilderState
- InHeadNoscript - org.jsoup.parser.HtmlTreeBuilderState
- Initial - org.jsoup.parser.HtmlTreeBuilderState
- INITIAL_CAPACITY - Static variable in class org.jsoup.parser.ParseErrorList
- InitialCapacity - Static variable in class org.jsoup.nodes.Attributes
- initialiseParse(Reader, String, Parser) - Method in class org.jsoup.parser.HtmlTreeBuilder
- initialiseParse(Reader, String, Parser) - Method in class org.jsoup.parser.TreeBuilder
- initialiseParse(Reader, String, Parser) - Method in class org.jsoup.parser.XmlTreeBuilder
- inlineTags - Static variable in class org.jsoup.parser.Tag
- inListItemScope(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- inputStream() - Method in interface org.jsoup.Connection.KeyVal
-
Get the input stream associated with this keyval, if any
- inputStream() - Method in class org.jsoup.helper.HttpConnection.KeyVal
- inputStream(InputStream) - Method in interface org.jsoup.Connection.KeyVal
-
Add or update an input stream to this keyVal
- inputStream(InputStream) - Method in class org.jsoup.helper.HttpConnection.KeyVal
- inputStreamRead - Variable in class org.jsoup.helper.HttpConnection.Response
- InRow - org.jsoup.parser.HtmlTreeBuilderState
- inScope(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- inScope(String[]) - Method in class org.jsoup.parser.HtmlTreeBuilder
- inScope(String, String[]) - Method in class org.jsoup.parser.HtmlTreeBuilder
- InSelect - org.jsoup.parser.HtmlTreeBuilderState
- InSelectInTable - org.jsoup.parser.HtmlTreeBuilderState
- inSelectScope(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insert(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insert(Token.Character) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insert(Token.Character) - Method in class org.jsoup.parser.XmlTreeBuilder
- insert(Token.Comment) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insert(Token.Comment) - Method in class org.jsoup.parser.XmlTreeBuilder
- insert(Token.Doctype) - Method in class org.jsoup.parser.XmlTreeBuilder
- insert(Token.StartTag) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insert(Token.StartTag) - Method in class org.jsoup.parser.XmlTreeBuilder
- insertChildren(int, Collection<? extends Node>) - Method in class org.jsoup.nodes.Element
-
Inserts the given child nodes into this element at the specified index.
- insertChildren(int, Node...) - Method in class org.jsoup.nodes.Element
-
Inserts the given child nodes into this element at the specified index.
- insertEmpty(Token.StartTag) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insertForm(Token.StartTag, boolean) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insertInFosterParent(Node) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insertMarkerToFormattingElements() - Method in class org.jsoup.parser.HtmlTreeBuilder
- insertNode(Node) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insertNode(Node) - Method in class org.jsoup.parser.XmlTreeBuilder
- insertOnStackAfter(Element, Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- insertStartTag(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- inSorted(String, String[]) - Static method in class org.jsoup.internal.StringUtil
- inSpecificScope(String[], String[], String[]) - Method in class org.jsoup.parser.HtmlTreeBuilder
- inSpecificScope(String, String[], String[]) - Method in class org.jsoup.parser.HtmlTreeBuilder
- InTable - org.jsoup.parser.HtmlTreeBuilderState
- InTableBody - org.jsoup.parser.HtmlTreeBuilderState
- inTableScope(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- InTableText - org.jsoup.parser.HtmlTreeBuilderState
- interrupted - Variable in class org.jsoup.internal.ConstrainableInputStream
- ioException() - Method in exception org.jsoup.UncheckedIOException
- is(String) - Method in class org.jsoup.nodes.Element
-
Check if this element matches the given
SelectorCSS query. - is(String) - Method in class org.jsoup.select.Elements
-
Test if any of the matched elements match the supplied query.
- is(Evaluator) - Method in class org.jsoup.nodes.Element
-
Check if this element matches the given evaluator.
- isActuallyWhitespace(int) - Static method in class org.jsoup.internal.StringUtil
-
Tests if a code point is "whitespace" as defined by what it looks like.
- isAppropriateEndTagToken() - Method in class org.jsoup.parser.Tokeniser
- isBaseNamedEntity(String) - Static method in class org.jsoup.nodes.Entities
-
Check if the input is a known named entity in the base entity set.
- isBinary() - Method in class org.jsoup.parser.CharacterReader
-
Heuristic to determine if the current buffer looks like binary content.
- isBlank() - Method in class org.jsoup.nodes.TextNode
-
Test if this text node is blank -- that is, empty or only whitespace (including newlines).
- isBlank(String) - Static method in class org.jsoup.internal.StringUtil
-
Tests if a string is blank: null, empty, or only whitespace (" ", \r\n, \t, etc)
- isBlock - Variable in class org.jsoup.parser.Tag
- 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
-
Deprecated.
- isBooleanAttribute() - Method in class org.jsoup.nodes.BooleanAttribute
-
Deprecated.
- isBooleanAttribute(String) - Static method in class org.jsoup.nodes.Attribute
-
Checks if this attribute name is defined as a boolean attribute in HTML5
- isCData() - Method in class org.jsoup.parser.Token
- isCharacter() - Method in class org.jsoup.parser.Token
- isComment() - Method in class org.jsoup.parser.Token
- 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
- isDataAttribute(String) - Static method in class org.jsoup.nodes.Attribute
- isDoctype() - Method in class org.jsoup.parser.Token
- isElementInQueue(ArrayList<Element>, Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- isEmitPending - Variable in class org.jsoup.parser.Tokeniser
- isEmpty() - Method in class org.jsoup.parser.CharacterReader
-
Tests if all the content has been read.
- 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
- isEmptyNoBufferUp() - Method in class org.jsoup.parser.CharacterReader
- isEndTag() - Method in class org.jsoup.parser.Token
- isEOF() - Method in class org.jsoup.parser.Token
- 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
- isForceQuirks() - Method in class org.jsoup.parser.Token.Doctype
- 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.
- isFosterInserts() - Method in class org.jsoup.parser.HtmlTreeBuilder
- isFragmentParsing() - Method in class org.jsoup.parser.HtmlTreeBuilder
- isInActiveFormattingElements(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- isInline() - Method in class org.jsoup.parser.Tag
-
Gets if this tag is an inline tag.
- isInvisibleChar(int) - Static method in class org.jsoup.internal.StringUtil
- 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.internal.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
- isProcessingInstruction - Variable in class org.jsoup.nodes.XmlDeclaration
- 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
- isSameFormattingElement(Element, Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- isSelfClosing() - Method in class org.jsoup.parser.Tag
-
Get if this tag is self closing.
- isSelfClosing() - Method in class org.jsoup.parser.Token.Tag
- isSpecial(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- isStartTag() - Method in class org.jsoup.parser.Token
- 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 body HTML has only tags and attributes allowed by the Whitelist.
- isValid(Document) - Method in class org.jsoup.safety.Cleaner
-
Determines if the input document bodyis valid, against the whitelist.
- isValidAnchor(String) - Method in class org.jsoup.safety.Whitelist
- isValidBodyHtml(String) - Method in class org.jsoup.safety.Cleaner
- isWhitespace(int) - Static method in class org.jsoup.internal.StringUtil
-
Tests if a code point is "whitespace" as defined in the HTML spec.
- isWhitespace(String) - Static method in enum org.jsoup.parser.HtmlTreeBuilderState
- isWhitespace(Token) - Static method in enum org.jsoup.parser.HtmlTreeBuilderState
- isXmlDeclaration() - Method in class org.jsoup.nodes.Comment
-
Check if this comment looks like an XML Declaration.
- iterator() - Method in class org.jsoup.nodes.Attributes.Dataset.EntrySet
- iterator() - Method in class org.jsoup.nodes.Attributes
J
- join(String[], String) - Static method in class org.jsoup.internal.StringUtil
-
Join an array of strings by a separator
- join(Collection, String) - Static method in class org.jsoup.internal.StringUtil
-
Join a collection of strings by a separator
- join(Iterator, String) - Static method in class org.jsoup.internal.StringUtil
-
Join a collection of strings by a separator
- Jsoup - Class in org.jsoup
-
The core public access point to the jsoup functionality.
- Jsoup() - Constructor for class org.jsoup.Jsoup
K
- key - Variable in class org.jsoup.helper.HttpConnection.KeyVal
- key - Variable in class org.jsoup.nodes.Attribute
- key - Variable in class org.jsoup.select.Evaluator.Attribute
- key - Variable in class org.jsoup.select.Evaluator.AttributeKeyPair
- key - Variable in class org.jsoup.select.Evaluator.AttributeWithValueMatching
- key() - Method in interface org.jsoup.Connection.KeyVal
-
Get the key of a keyval
- key() - Method in class org.jsoup.helper.HttpConnection.KeyVal
- key(String) - Method in interface org.jsoup.Connection.KeyVal
-
Update the key of a keyval
- key(String) - Method in class org.jsoup.helper.HttpConnection.KeyVal
- keyPrefix - Variable in class org.jsoup.select.Evaluator.AttributeStarting
- keys - Variable in class org.jsoup.nodes.Attributes
- KeyVal() - Constructor for class org.jsoup.helper.HttpConnection.KeyVal
L
- last() - Method in class org.jsoup.select.Elements
-
Get the last matched element.
- lastCharIsWhitespace(StringBuilder) - Static method in class org.jsoup.nodes.TextNode
- lastElementSibling() - Method in class org.jsoup.nodes.Element
-
Gets the last element sibling of this element
- lastFormattingElement() - Method in class org.jsoup.parser.HtmlTreeBuilder
- lastStartTag - Variable in class org.jsoup.parser.Tokeniser
- LeafNode - Class in org.jsoup.nodes
- LeafNode() - Constructor for class org.jsoup.nodes.LeafNode
- limitedQuirks - org.jsoup.nodes.Document.QuirksMode
- ListLinks - Class in org.jsoup.examples
-
Example program to list links from a URL.
- ListLinks() - Constructor for class org.jsoup.examples.ListLinks
- load(File, String, String) - Static method in class org.jsoup.helper.DataUtil
-
Loads a file to a Document.
- load(InputStream, String, String) - Static method in class org.jsoup.helper.DataUtil
-
Parses a Document from an input steam.
- load(InputStream, String, String, Parser) - Static method in class org.jsoup.helper.DataUtil
-
Parses a Document from an input steam, using the provided Parser.
- load(Entities.EscapeMode, String, int) - Static method in class org.jsoup.nodes.Entities
- location - Variable in class org.jsoup.nodes.Document
- location() - Method in class org.jsoup.nodes.Document
-
Get the URL this Document was parsed from.
- LOCATION - Static variable in class org.jsoup.helper.HttpConnection.Response
- log(String, String...) - Static method in class org.jsoup.examples.Wikipedia
- looksLikeUtf8(byte[]) - Static method in class org.jsoup.helper.HttpConnection.Base
- lowerCase(String) - Static method in class org.jsoup.internal.Normalizer
M
- main(String...) - Static method in class org.jsoup.examples.HtmlToPlainText
- main(String[]) - Static method in class org.jsoup.examples.ListLinks
- main(String[]) - Static method in class org.jsoup.examples.Wikipedia
- mark() - Method in class org.jsoup.parser.CharacterReader
- markInsertionMode() - Method in class org.jsoup.parser.HtmlTreeBuilder
- MarkupDeclarationOpen - org.jsoup.parser.TokeniserState
- match - Variable in class org.jsoup.select.Collector.FirstFinder
- matchChomp(String) - Method in class org.jsoup.parser.TokenQueue
-
Tests if the queue matches the sequence (as with match), and if they do, removes the matched string from the queue.
- matchConsume(String) - Method in class org.jsoup.parser.CharacterReader
- matchConsumeIgnoreCase(String) - Method in class org.jsoup.parser.CharacterReader
- matches(boolean) - Method in class org.jsoup.select.QueryParser
- matches(char) - Method in class org.jsoup.parser.CharacterReader
- matches(String) - Method in class org.jsoup.parser.CharacterReader
- matches(String) - Method in class org.jsoup.parser.TokenQueue
-
Tests if the next characters on the queue match the sequence.
- matches(Element, Element) - Method in class org.jsoup.select.CombiningEvaluator.And
- matches(Element, Element) - Method in class org.jsoup.select.CombiningEvaluator.Or
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AllElements
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.Attribute
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AttributeStarting
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AttributeWithValue
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AttributeWithValueContaining
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AttributeWithValueEnding
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AttributeWithValueMatching
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AttributeWithValueNot
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.AttributeWithValueStarting
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.Class
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.ContainsData
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.ContainsOwnText
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.ContainsText
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.CssNthEvaluator
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.Id
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IndexEquals
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IndexGreaterThan
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IndexLessThan
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IsEmpty
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IsFirstChild
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IsLastChild
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IsOnlyChild
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IsOnlyOfType
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.IsRoot
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator
-
Test if the element meets the evaluator's requirements.
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.Matches
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.MatchesOwn
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.MatchText
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.Tag
- matches(Element, Element) - Method in class org.jsoup.select.Evaluator.TagEndsWith
- matches(Element, Element) - Method in class org.jsoup.select.StructuralEvaluator.Has
- matches(Element, Element) - Method in class org.jsoup.select.StructuralEvaluator.ImmediateParent
- matches(Element, Element) - Method in class org.jsoup.select.StructuralEvaluator.ImmediatePreviousSibling
- matches(Element, Element) - Method in class org.jsoup.select.StructuralEvaluator.Not
- matches(Element, Element) - Method in class org.jsoup.select.StructuralEvaluator.Parent
- matches(Element, Element) - Method in class org.jsoup.select.StructuralEvaluator.PreviousSibling
- matches(Element, Element) - Method in class org.jsoup.select.StructuralEvaluator.Root
- Matches(Pattern) - Constructor for class org.jsoup.select.Evaluator.Matches
- matchesAny(char...) - Method in class org.jsoup.parser.CharacterReader
- matchesAny(char...) - Method in class org.jsoup.parser.TokenQueue
- matchesAny(String...) - Method in class org.jsoup.parser.TokenQueue
-
Tests if the next characters match any of the sequences.
- matchesAnySorted(char[]) - Method in class org.jsoup.parser.CharacterReader
- matchesCS(String) - Method in class org.jsoup.parser.TokenQueue
-
Case sensitive match test.
- matchesDigit() - Method in class org.jsoup.parser.CharacterReader
- matchesIgnoreCase(String) - Method in class org.jsoup.parser.CharacterReader
- matchesLetter() - Method in class org.jsoup.parser.CharacterReader
- MatchesOwn(Pattern) - Constructor for class org.jsoup.select.Evaluator.MatchesOwn
- matchesStartTag() - Method in class org.jsoup.parser.TokenQueue
- matchesWhitespace() - Method in class org.jsoup.parser.TokenQueue
-
Tests if queue starts with a whitespace character.
- matchesWord() - Method in class org.jsoup.parser.TokenQueue
-
Test if the queue matches a word character (letter or digit).
- MatchText() - Constructor for class org.jsoup.select.Evaluator.MatchText
- MAX_REDIRECTS - Static variable in class org.jsoup.helper.HttpConnection.Response
- maxBodySize() - Method in interface org.jsoup.Connection.Request
-
Get the maximum body size, in bytes.
- maxBodySize() - Method in class org.jsoup.helper.HttpConnection.Request
- maxBodySize(int) - Method in interface org.jsoup.Connection
-
Set the maximum bytes to read from the (uncompressed) connection into the body, before the connection is closed, and the input truncated.
- maxBodySize(int) - Method in interface org.jsoup.Connection.Request
-
Update the maximum body size, in bytes.
- maxBodySize(int) - Method in class org.jsoup.helper.HttpConnection
- maxBodySize(int) - Method in class org.jsoup.helper.HttpConnection.Request
- maxBodySizeBytes - Variable in class org.jsoup.helper.HttpConnection.Request
- maxBufferLen - Static variable in class org.jsoup.parser.CharacterReader
- MaxCachedBuilderSize - Static variable in class org.jsoup.internal.StringUtil
- MaxIdleBuilders - Static variable in class org.jsoup.internal.StringUtil
- MaxScopeSearchDepth - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- maxSize - Variable in class org.jsoup.internal.ConstrainableInputStream
- maxSize - Variable in class org.jsoup.parser.ParseErrorList
- maxStringCacheLen - Static variable in class org.jsoup.parser.CharacterReader
- maxWidth - Static variable in class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- maybeSetBaseUri(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- method - Variable in class org.jsoup.helper.HttpConnection.Base
- method() - Method in interface org.jsoup.Connection.Base
-
Get the request method
- method() - Method in class org.jsoup.helper.HttpConnection.Base
- method(Connection.Method) - Method in interface org.jsoup.Connection.Base
-
Set the request method
- method(Connection.Method) - Method in interface org.jsoup.Connection
-
Set the request method to use, GET or POST.
- method(Connection.Method) - Method in class org.jsoup.helper.HttpConnection.Base
- method(Connection.Method) - Method in class org.jsoup.helper.HttpConnection
- Method(boolean) - Constructor for enum org.jsoup.Connection.Method
- mimeBoundary() - Static method in class org.jsoup.helper.DataUtil
-
Creates a random string, suitable for use as a mime boundary
- mimeBoundaryChars - Static variable in class org.jsoup.helper.DataUtil
- mimeType - Variable in exception org.jsoup.UnsupportedMimeTypeException
- multiHeaders() - Method in interface org.jsoup.Connection.Base
-
Retreive all of the headers, keyed by the header name, and with a list of values per header.
- multiHeaders() - Method in class org.jsoup.helper.HttpConnection.Base
- MULTIPART_FORM_DATA - Static variable in class org.jsoup.helper.HttpConnection
- multipointHolder - Variable in class org.jsoup.parser.Tokeniser
- multipoints - Static variable in class org.jsoup.nodes.Entities
N
- name - Variable in class org.jsoup.parser.Token.Doctype
- name() - Method in class org.jsoup.nodes.XmlDeclaration
-
Get the name of this declaration.
- name() - Method in class org.jsoup.parser.Token.Tag
-
Preserves case
- name(String) - Method in class org.jsoup.parser.Token.Tag
- NAME - Static variable in class org.jsoup.nodes.DocumentType
- nameAttr(String, Attributes) - Method in class org.jsoup.parser.Token.StartTag
- nameForCodepoint(int) - Method in enum org.jsoup.nodes.Entities.EscapeMode
- nameKeys - Variable in enum org.jsoup.nodes.Entities.EscapeMode
- namespacesStack - Variable in class org.jsoup.helper.W3CDom.W3CBuilder
- nameVals - Variable in enum org.jsoup.nodes.Entities.EscapeMode
- needsMultipart(Connection.Request) - Static method in class org.jsoup.helper.HttpConnection
- newAttribute() - Method in class org.jsoup.parser.Token.Tag
- newPendingTableCharacters() - Method in class org.jsoup.parser.HtmlTreeBuilder
- next() - Method in class org.jsoup.nodes.Attributes.Dataset.DatasetIterator
- next() - Method in class org.jsoup.select.Elements
-
Get the immediate next element sibling of each element in this list.
- next(String) - Method in class org.jsoup.select.Elements
-
Get the immediate next element sibling of each element in this list, filtered by the query.
- nextAll() - Method in class org.jsoup.select.Elements
-
Get each of the following element siblings of each element in this list.
- nextAll(String) - Method in class org.jsoup.select.Elements
-
Get each of the following element siblings of each element in this list, that match the query.
- nextElementSibling() - Method in class org.jsoup.nodes.Element
-
Gets the next sibling element of this element.
- nextElementSiblings() - Method in class org.jsoup.nodes.Element
-
Get each of the sibling elements that come after this element.
- nextElementSiblings(boolean) - Method in class org.jsoup.nodes.Element
- nextIndexOf(char) - Method in class org.jsoup.parser.CharacterReader
-
Returns the number of characters between the current position and the next instance of the input char
- nextIndexOf(CharSequence) - Method in class org.jsoup.parser.CharacterReader
-
Returns the number of characters between the current position and the next instance of the input sequence
- nextSibling() - Method in class org.jsoup.nodes.Node
-
Get this node's next sibling.
- Node - Class in org.jsoup.nodes
-
The base, abstract Node model.
- Node() - Constructor for class org.jsoup.nodes.Node
-
Default constructor.
- Node.OuterHtmlVisitor - Class in org.jsoup.nodes
- NodeFilter - Interface in org.jsoup.select
-
Node filter interface.
- NodeFilter.FilterResult - Enum in org.jsoup.select
-
Filter decision.
- NodeList(Element, int) - Constructor for class org.jsoup.nodes.Element.NodeList
- nodelistChanged() - Method in class org.jsoup.nodes.Element
-
Clears the cached shadow child elements.
- nodelistChanged() - Method in class org.jsoup.nodes.Node
- nodeName() - Method in class org.jsoup.nodes.CDataNode
- nodeName() - Method in class org.jsoup.nodes.Comment
- nodeName() - Method in class org.jsoup.nodes.DataNode
- nodeName() - Method in class org.jsoup.nodes.Document
- nodeName() - Method in class org.jsoup.nodes.DocumentType
- nodeName() - Method in class org.jsoup.nodes.Element
- nodeName() - Method in class org.jsoup.nodes.Node
-
Get the node name of this node.
- nodeName() - Method in class org.jsoup.nodes.TextNode
- nodeName() - Method in class org.jsoup.nodes.XmlDeclaration
- NodeTraversor - Class in org.jsoup.select
-
Depth-first node traversor.
- NodeTraversor(NodeVisitor) - Constructor for class org.jsoup.select.NodeTraversor
-
Deprecated.Just use the static
NodeTraversor.filter(NodeFilter, Node)method. - NodeUtils - Class in org.jsoup.nodes
-
Internal helpers for Nodes, to keep the actual node APIs relatively clean.
- NodeUtils() - Constructor for class org.jsoup.nodes.NodeUtils
- NodeVisitor - Interface in org.jsoup.select
-
Node visitor interface.
- none() - Static method in class org.jsoup.safety.Whitelist
-
This whitelist allows only text nodes: all HTML will be stripped.
- noNullElements(Object[]) - Static method in class org.jsoup.helper.Validate
-
Validates that the array contains no null elements
- noNullElements(Object[], String) - Static method in class org.jsoup.helper.Validate
-
Validates that the array contains no null elements
- noQuirks - org.jsoup.nodes.Document.QuirksMode
- normalise() - Method in class org.jsoup.nodes.Document
-
Normalise the document.
- normaliseStructure(String, Element) - Method in class org.jsoup.nodes.Document
- normaliseTextNodes(Element) - Method in class org.jsoup.nodes.Document
- normaliseWhitespace(String) - Static method in class org.jsoup.internal.StringUtil
-
Normalise the whitespace within this string; multiple spaces collapse to a single, and all whitespace characters (e.g.
- normaliseWhitespace(String) - Static method in class org.jsoup.nodes.TextNode
- normalize() - Method in class org.jsoup.nodes.Attributes
-
Internal method.
- normalize(String) - Static method in class org.jsoup.internal.Normalizer
- normalizeAttribute(String) - Method in class org.jsoup.parser.ParseSettings
-
Normalizes an attribute according to the case preservation setting.
- normalizeAttributes(Attributes) - Method in class org.jsoup.parser.ParseSettings
- Normalizer - Class in org.jsoup.internal
-
Util methods for normalizing strings.
- Normalizer() - Constructor for class org.jsoup.internal.Normalizer
- normalizeTag(String) - Method in class org.jsoup.parser.ParseSettings
-
Normalizes a tag name according to the case preservation setting.
- normalName - Variable in class org.jsoup.parser.Tag
- normalName - Variable in class org.jsoup.parser.Token.Tag
- normalName() - Method in class org.jsoup.nodes.Element
-
Get the normalized name of this Element's tag.
- normalName() - Method in class org.jsoup.parser.Tag
-
Get this tag's normalized (lowercased) name.
- normalName() - Method in class org.jsoup.parser.Token.Tag
-
Lower case
- not() - Method in class org.jsoup.select.QueryParser
- not(String) - Method in class org.jsoup.select.Elements
-
Remove elements from this list that match the
Selectorquery. - Not(Evaluator) - Constructor for class org.jsoup.select.StructuralEvaluator.Not
- notCharRefCharsSorted - Static variable in class org.jsoup.parser.Tokeniser
- notEmpty(String) - Static method in class org.jsoup.helper.Validate
-
Validates that the string is not empty
- notEmpty(String, String) - Static method in class org.jsoup.helper.Validate
-
Validates that the string is not empty
- NotFound - Static variable in class org.jsoup.nodes.Attributes
- notNull(Object) - Static method in class org.jsoup.helper.Validate
-
Validates that the object is not null
- notNull(Object, String) - Static method in class org.jsoup.helper.Validate
-
Validates that the object is not null
- noTracking() - Static method in class org.jsoup.parser.ParseErrorList
- NTH_AB - Static variable in class org.jsoup.select.QueryParser
- NTH_B - Static variable in class org.jsoup.select.QueryParser
- nullChar - Static variable in enum org.jsoup.parser.TokeniserState
- nullString - Static variable in enum org.jsoup.parser.HtmlTreeBuilderState
- num - Variable in class org.jsoup.select.CombiningEvaluator
- numAttribsDiscarded - Variable in class org.jsoup.safety.Cleaner.ElementMeta
- numDiscarded - Variable in class org.jsoup.safety.Cleaner.CleaningVisitor
- numNullsConsideredBinary - Static variable in class org.jsoup.parser.CharacterReader
- numRedirects - Variable in class org.jsoup.helper.HttpConnection.Response
O
- offset - Variable in class org.jsoup.helper.DataUtil.BomCharset
- onContentsChanged() - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- onContentsChanged() - Method in class org.jsoup.nodes.Element.NodeList
- onStack(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- OPTIONS - org.jsoup.Connection.Method
- Or() - Constructor for class org.jsoup.select.CombiningEvaluator.Or
- Or(Collection<Evaluator>) - Constructor for class org.jsoup.select.CombiningEvaluator.Or
-
Create a new Or evaluator.
- Or(Evaluator...) - Constructor for class org.jsoup.select.CombiningEvaluator.Or
- org.jsoup - package org.jsoup
-
Contains the main
Jsoupclass, which provides convenient static access to the jsoup functionality. - org.jsoup.examples - package org.jsoup.examples
-
Contains example programs and use of jsoup.
- org.jsoup.helper - package org.jsoup.helper
- org.jsoup.internal - package org.jsoup.internal
-
Util methods used by Jsoup.
- org.jsoup.nodes - package org.jsoup.nodes
-
HTML document structure nodes.
- org.jsoup.parser - package org.jsoup.parser
-
Contains the HTML parser, tag specifications, and HTML tokeniser.
- org.jsoup.safety - package org.jsoup.safety
-
Contains the jsoup HTML cleaner, and whitelist definitions.
- org.jsoup.select - package org.jsoup.select
-
Packages to support the CSS-style element selector.
- originalState - Variable in class org.jsoup.parser.HtmlTreeBuilder
- originalState() - Method in class org.jsoup.parser.HtmlTreeBuilder
- out - Variable in class org.jsoup.nodes.Node.OuterHtmlVisitor
- outerHtml() - Method in class org.jsoup.nodes.Document
- outerHtml() - Method in class org.jsoup.nodes.Node
-
Get the outer HTML of this node.
- outerHtml() - Method in class org.jsoup.select.Elements
-
Get the combined outer HTML of all matched elements.
- outerHtml(Appendable) - Method in class org.jsoup.nodes.Node
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.CDataNode
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Comment
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.DataNode
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.DocumentType
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Element
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Node
-
Get the outer HTML of this node.
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.PseudoTextElement
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.TextNode
- outerHtmlHead(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.XmlDeclaration
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.CDataNode
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Comment
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.DataNode
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.DocumentType
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Element
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.Node
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.PseudoTextElement
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.TextNode
- outerHtmlTail(Appendable, int, Document.OutputSettings) - Method in class org.jsoup.nodes.XmlDeclaration
- OuterHtmlVisitor(Appendable, Document.OutputSettings) - Constructor for class org.jsoup.nodes.Node.OuterHtmlVisitor
- outline - Variable in class org.jsoup.nodes.Document.OutputSettings
- outline() - Method in class org.jsoup.nodes.Document.OutputSettings
-
Get if outline mode is enabled.
- outline(boolean) - Method in class org.jsoup.nodes.Document.OutputSettings
-
Enable or disable HTML outline mode.
- outputSettings - Variable in class org.jsoup.nodes.Document
- outputSettings() - Method in class org.jsoup.nodes.Document
-
Get the document's current output settings.
- outputSettings(Document.OutputSettings) - Method in class org.jsoup.nodes.Document
-
Set the document's output settings.
- outputSettings(Node) - Static method in class org.jsoup.nodes.NodeUtils
-
Get the output setting for this node, or if this node has no document (or parent), retrieve the default output settings
- OutputSettings() - Constructor for class org.jsoup.nodes.Document.OutputSettings
- owner - Variable in class org.jsoup.nodes.Element.NodeList
- ownerDocument() - Method in class org.jsoup.nodes.Node
-
Gets the Document associated with this Node.
- ownText() - Method in class org.jsoup.nodes.Element
-
Gets the text owned by this element only; does not get the combined text of all children.
- ownText(StringBuilder) - Method in class org.jsoup.nodes.Element
P
- padding - Static variable in class org.jsoup.internal.StringUtil
- padding(int) - Static method in class org.jsoup.internal.StringUtil
-
Returns space padding
- parent - Variable in class org.jsoup.nodes.Attribute
- parent() - Method in class org.jsoup.nodes.Element
- parent() - Method in class org.jsoup.nodes.Node
-
Gets this node's parent node.
- Parent(Evaluator) - Constructor for class org.jsoup.select.StructuralEvaluator.Parent
- parentNode - Variable in class org.jsoup.nodes.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
-
Read and parse the body of the response as a Document.
- parse() - Method in class org.jsoup.helper.HttpConnection.Response
- parse() - Method in class org.jsoup.select.QueryParser
-
Parse the query
- parse(File, String) - Static method in class org.jsoup.Jsoup
-
Parse the contents of a file as HTML.
- parse(File, String, 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(Reader, String) - Method in class org.jsoup.parser.XmlTreeBuilder
- parse(Reader, String, Parser) - Method in class org.jsoup.parser.TreeBuilder
- parse(String) - Static method in class org.jsoup.Jsoup
-
Parse HTML into a Document.
- parse(String) - Static method in class org.jsoup.select.QueryParser
-
Parse a CSS query into an Evaluator.
- parse(String, String) - Static method in class org.jsoup.Jsoup
-
Parse HTML into a Document.
- parse(String, String) - Static method in class org.jsoup.parser.Parser
-
Parse HTML into a Document.
- parse(String, String) - Method in class org.jsoup.parser.XmlTreeBuilder
- parse(String, String, Parser) - Static method in class org.jsoup.Jsoup
-
Parse HTML into a Document, using the provided Parser.
- parse(URL, int) - Static method in class org.jsoup.Jsoup
-
Fetch a URL, and parse it as HTML.
- parseBodyFragment(String) - Static method in class org.jsoup.Jsoup
-
Parse a fragment of HTML, with the assumption that it forms the
bodyof the HTML. - parseBodyFragment(String, String) - Static method in class org.jsoup.Jsoup
-
Parse a fragment of HTML, with the assumption that it forms the
bodyof the HTML. - parseBodyFragment(String, String) - Static method in class org.jsoup.parser.Parser
-
Parse a fragment of HTML into the
bodyof 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.
- ParseError(int, String) - Constructor for class org.jsoup.parser.ParseError
- ParseError(int, String, Object...) - Constructor for class org.jsoup.parser.ParseError
- ParseErrorList - Class in org.jsoup.parser
-
A container for ParseErrors.
- ParseErrorList(int, int) - Constructor for class org.jsoup.parser.ParseErrorList
- parseFragment(String, String, Parser) - Method in class org.jsoup.parser.XmlTreeBuilder
- parseFragment(String, Element, String) - Static method in class org.jsoup.parser.Parser
-
Parse a fragment of HTML into a list of nodes.
- parseFragment(String, Element, String, ParseErrorList) - Static method in class org.jsoup.parser.Parser
-
Parse a fragment of HTML into a list of nodes.
- parseFragment(String, Element, String, Parser) - Method in class org.jsoup.parser.HtmlTreeBuilder
- parseFragment(String, Element, String, Parser) - Method in class org.jsoup.parser.TreeBuilder
- parseFragment(String, Element, String, Parser) - Method in class org.jsoup.parser.XmlTreeBuilder
- parseFragmentInput(String, Element, String) - Method in class org.jsoup.parser.Parser
- parseInput(Reader, String) - Method in class org.jsoup.parser.Parser
- parseInput(String, String) - Method in class org.jsoup.parser.Parser
- parseInputStream(InputStream, String, String, Parser) - Static method in class org.jsoup.helper.DataUtil
- parser - Variable in class org.jsoup.helper.HttpConnection.Request
- parser - Variable in class org.jsoup.nodes.Document
- parser - Variable in class org.jsoup.parser.TreeBuilder
- parser() - Method in interface org.jsoup.Connection.Request
-
Get the current parser to use when parsing the document.
- parser() - Method in class org.jsoup.helper.HttpConnection.Request
- parser() - Method in class org.jsoup.nodes.Document
-
Get the parser that was used to parse this document.
- parser(Node) - Static method in class org.jsoup.nodes.NodeUtils
-
Get the parser that was used to make this node, or the default HTML parser if it has no parent.
- 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(Parser) - Method in class org.jsoup.helper.HttpConnection
- parser(Parser) - Method in class org.jsoup.helper.HttpConnection.Request
- parser(Parser) - Method in class org.jsoup.nodes.Document
-
Set the parser used to create this document.
- Parser - Class in org.jsoup.parser
-
Parses HTML into a
Document. - Parser(TreeBuilder) - Constructor for class org.jsoup.parser.Parser
-
Create a new Parser, using the specified TreeBuilder
- parserDefined - Variable in class org.jsoup.helper.HttpConnection.Request
- ParseSettings - Class in org.jsoup.parser
-
Controls parser settings, to optionally preserve tag and/or attribute name case.
- ParseSettings(boolean, boolean) - Constructor for class org.jsoup.parser.ParseSettings
-
Define parse settings.
- parseXmlFragment(String, String) - Static method in class org.jsoup.parser.Parser
-
Parse a fragment of XML into a list of nodes.
- PATCH - org.jsoup.Connection.Method
- pattern - Variable in class org.jsoup.select.Evaluator.AttributeWithValueMatching
- pattern - Variable in class org.jsoup.select.Evaluator.Matches
- pattern - Variable in class org.jsoup.select.Evaluator.MatchesOwn
- peek() - Method in class org.jsoup.parser.TokenQueue
-
Retrieves but does not remove the first character from the queue.
- pendingAttributeName - Variable in class org.jsoup.parser.Token.Tag
- pendingAttributeValue - Variable in class org.jsoup.parser.Token.Tag
- pendingAttributeValueS - Variable in class org.jsoup.parser.Token.Tag
- pendingTableCharacters - Variable in class org.jsoup.parser.HtmlTreeBuilder
- PLAINTEXT - org.jsoup.parser.TokeniserState
- pop() - Method in class org.jsoup.parser.HtmlTreeBuilder
- popStackToBefore(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- popStackToClose(String) - Method in class org.jsoup.parser.HtmlTreeBuilder
- popStackToClose(String...) - Method in class org.jsoup.parser.HtmlTreeBuilder
- popStackToClose(Token.EndTag) - Method in class org.jsoup.parser.XmlTreeBuilder
-
If the stack contains an element with this tag's name, pop up the stack to remove the first occurrence.
- pos - Variable in class org.jsoup.parser.ParseError
- pos - Variable in class org.jsoup.parser.TokenQueue
- pos() - Method in class org.jsoup.parser.CharacterReader
-
Gets the current cursor position in the content.
- 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
- POST - org.jsoup.Connection.Method
- postDataCharset - Variable in class org.jsoup.helper.HttpConnection.Request
- postDataCharset() - Method in interface org.jsoup.Connection.Request
-
Gets the post data character set for x-www-form-urlencoded post data
- postDataCharset() - Method in class org.jsoup.helper.HttpConnection.Request
- 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(String) - Method in class org.jsoup.helper.HttpConnection
- postDataCharset(String) - Method in class org.jsoup.helper.HttpConnection.Request
- prepareByteData() - Method in class org.jsoup.helper.HttpConnection.Response
- prepareEncoder() - Method in class org.jsoup.nodes.Document.OutputSettings
- 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.
- preserveAttributeCase - Variable in class org.jsoup.parser.ParseSettings
- preserveCase - Static variable in class org.jsoup.parser.ParseSettings
-
Preserve both tag and attribute case.
- preserveRelativeLinks - Variable in class org.jsoup.safety.Whitelist
- 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.
- preserveTagCase - Variable in class org.jsoup.parser.ParseSettings
- preserveWhitespace - Variable in class org.jsoup.parser.Tag
- preserveWhitespace() - Method in class org.jsoup.parser.Tag
-
Get if this tag should preserve whitespace within child text nodes.
- preserveWhitespace(Node) - Static method in class org.jsoup.nodes.Element
- preserveWhitespaceTags - Static variable in class org.jsoup.parser.Tag
- prettyPrint - Variable in class org.jsoup.nodes.Document.OutputSettings
- 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.
- prev() - Method in class org.jsoup.select.Elements
-
Get the immediate previous element sibling of each element in this list.
- prev(String) - Method in class org.jsoup.select.Elements
-
Get the immediate previous element sibling of each element in this list, filtered by the query.
- prevAll() - Method in class org.jsoup.select.Elements
-
Get each of the previous element siblings of each element in this list.
- prevAll(String) - Method in class org.jsoup.select.Elements
-
Get each of the previous element siblings of each element in this list, that match the query.
- previousElementSibling() - Method in class org.jsoup.nodes.Element
-
Gets the previous element sibling of this element.
- previousElementSiblings() - Method in class org.jsoup.nodes.Element
-
Get each of the element siblings before this element.
- previousSibling() - Method in class org.jsoup.nodes.Node
-
Get this node's previous sibling.
- PreviousSibling(Evaluator) - Constructor for class org.jsoup.select.StructuralEvaluator.PreviousSibling
- print(String, Object...) - Static method in class org.jsoup.examples.ListLinks
- process(Token) - Method in class org.jsoup.parser.HtmlTreeBuilder
- process(Token) - Method in class org.jsoup.parser.TreeBuilder
- process(Token) - Method in class org.jsoup.parser.XmlTreeBuilder
- process(Token, HtmlTreeBuilder) - Method in enum org.jsoup.parser.HtmlTreeBuilderState
- process(Token, HtmlTreeBuilderState) - Method in class org.jsoup.parser.HtmlTreeBuilder
- processEndTag(String) - Method in class org.jsoup.parser.TreeBuilder
- processResponseHeaders(Map<String, List<String>>) - Method in class org.jsoup.helper.HttpConnection.Response
- processStartTag(String) - Method in class org.jsoup.parser.TreeBuilder
- processStartTag(String, Attributes) - Method in class org.jsoup.parser.TreeBuilder
- Protocol(String) - Constructor for class org.jsoup.safety.Whitelist.Protocol
- protocols - Variable in class org.jsoup.safety.Whitelist
- proxy - Variable in class org.jsoup.helper.HttpConnection.Request
- proxy() - Method in interface org.jsoup.Connection.Request
-
Get the proxy used for this request.
- proxy() - Method in class org.jsoup.helper.HttpConnection.Request
- proxy(String, int) - Method in interface org.jsoup.Connection
-
Set the HTTP proxy to use for this request.
- proxy(String, int) - Method in interface org.jsoup.Connection.Request
-
Set the HTTP proxy to use for this request.
- proxy(String, int) - Method in class org.jsoup.helper.HttpConnection
- proxy(String, int) - Method in class org.jsoup.helper.HttpConnection.Request
- proxy(Proxy) - Method in interface org.jsoup.Connection
-
Set the proxy to use for this request.
- proxy(Proxy) - Method in interface org.jsoup.Connection.Request
-
Update the proxy for this request.
- proxy(Proxy) - Method in class org.jsoup.helper.HttpConnection
- proxy(Proxy) - Method in class org.jsoup.helper.HttpConnection.Request
- PseudoTextElement - Class in org.jsoup.nodes
- PseudoTextElement(Tag, String, Attributes) - Constructor for class org.jsoup.nodes.PseudoTextElement
- PUB_SYS_KEY - Static variable in class org.jsoup.nodes.DocumentType
- PUBLIC_ID - Static variable in class org.jsoup.nodes.DocumentType
- PUBLIC_KEY - Static variable in class org.jsoup.nodes.DocumentType
- publicIdentifier - Variable in class org.jsoup.parser.Token.Doctype
- pubSysKey - Variable in class org.jsoup.parser.Token.Doctype
- push(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- pushActiveFormattingElements(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- put(String, boolean) - Method in class org.jsoup.nodes.Attributes
-
Set a new boolean attribute, remove attribute if value is false.
- put(String, String) - Method in class org.jsoup.nodes.Attributes.Dataset
- put(String, String) - Method in class org.jsoup.nodes.Attributes
-
Set a new attribute, or replace an existing one by key.
- put(Attribute) - Method in class org.jsoup.nodes.Attributes
-
Set a new attribute, or replace an existing one by key.
- PUT - org.jsoup.Connection.Method
- putIgnoreCase(String, String) - Method in class org.jsoup.nodes.Attributes
Q
- query - Variable in class org.jsoup.select.QueryParser
- QueryParser - Class in org.jsoup.select
-
Parses a CSS selector into an Evaluator tree.
- QueryParser(String) - Constructor for class org.jsoup.select.QueryParser
-
Create a new QueryParser.
- queue - Variable in class org.jsoup.parser.TokenQueue
- quirks - org.jsoup.nodes.Document.QuirksMode
- quirksMode - Variable in class org.jsoup.nodes.Document
- quirksMode() - Method in class org.jsoup.nodes.Document
- quirksMode(Document.QuirksMode) - Method in class org.jsoup.nodes.Document
- QuirksMode() - Constructor for enum org.jsoup.nodes.Document.QuirksMode
R
- rangeEquals(char[], int, int, String) - Static method in class org.jsoup.parser.CharacterReader
-
Check if the value of the provided range equals the string.
- rangeEquals(int, int, String) - Method in class org.jsoup.parser.CharacterReader
- Rawtext - org.jsoup.parser.TokeniserState
- RawtextEndTagName - org.jsoup.parser.TokeniserState
- RawtextEndTagOpen - org.jsoup.parser.TokeniserState
- RawtextLessthanSign - org.jsoup.parser.TokeniserState
- Rcdata - org.jsoup.parser.TokeniserState
- RCDATAEndTagName - org.jsoup.parser.TokeniserState
- RCDATAEndTagOpen - org.jsoup.parser.TokeniserState
- RcdataLessthanSign - org.jsoup.parser.TokeniserState
- read() - Method in class org.jsoup.parser.Tokeniser
- read(byte[], int, int) - Method in class org.jsoup.internal.ConstrainableInputStream
- read(Tokeniser, CharacterReader) - Method in enum org.jsoup.parser.TokeniserState
- readAheadLimit - Static variable in class org.jsoup.parser.CharacterReader
- readCharRef(Tokeniser, TokeniserState) - Static method in enum org.jsoup.parser.TokeniserState
- readData(Tokeniser, CharacterReader, TokeniserState, TokeniserState) - Static method in enum org.jsoup.parser.TokeniserState
- readEndTag(Tokeniser, CharacterReader, TokeniserState, TokeniserState) - Static method in enum org.jsoup.parser.TokeniserState
- reader - Variable in class org.jsoup.parser.CharacterReader
- reader - Variable in class org.jsoup.parser.Tokeniser
- reader - Variable in class org.jsoup.parser.TreeBuilder
- readerPos - Variable in class org.jsoup.parser.CharacterReader
- readToByteBuffer(int) - Method in class org.jsoup.internal.ConstrainableInputStream
-
Reads this inputstream to a ByteBuffer.
- readToByteBuffer(InputStream, int) - Static method in class org.jsoup.helper.DataUtil
-
Read the input stream into a byte buffer.
- reconstructFormattingElements() - Method in class org.jsoup.parser.HtmlTreeBuilder
- referrer(String) - Method in interface org.jsoup.Connection
-
Set the request referrer (aka "referer") header.
- referrer(String) - Method in class org.jsoup.helper.HttpConnection
- register(Tag) - Static method in class org.jsoup.parser.Tag
- reindexChildren(int) - Method in class org.jsoup.nodes.Node
- 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 - releaseBuilder(StringBuilder) - Static method in class org.jsoup.internal.StringUtil
-
Release a borrowed builder.
- remainder() - Method in class org.jsoup.parser.TokenQueue
-
Consume and return whatever is left on the queue.
- remaining - Variable in class org.jsoup.internal.ConstrainableInputStream
- remainingLength() - Method in class org.jsoup.parser.TokenQueue
- remove() - Method in class org.jsoup.nodes.Attributes.Dataset.DatasetIterator
- 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.
- remove(int) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- remove(int) - Method in class org.jsoup.nodes.Attributes
- remove(Object) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- remove(String) - Method in class org.jsoup.nodes.Attributes
-
Remove an attribute by key.
- REMOVE - org.jsoup.select.NodeFilter.FilterResult
-
Remove the node and its children
- removeAll(Collection<?>) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- removeAttr(String) - Method in class org.jsoup.nodes.LeafNode
- removeAttr(String) - Method in class org.jsoup.nodes.Node
-
Remove an attribute from this element.
- 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.FormElement
- 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
classattribute. - removeClass(String) - Method in class org.jsoup.select.Elements
-
Remove the class name from every matched element's
classattribute, if present. - removeCookie(String) - Method in interface org.jsoup.Connection.Base
-
Remove a cookie by name
- removeCookie(String) - Method in class org.jsoup.helper.HttpConnection.Base
- removeEnforcedAttribute(String, String) - Method in class org.jsoup.safety.Whitelist
-
Remove a previously configured enforced attribute from a tag.
- removeFromActiveFormattingElements(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- removeFromStack(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- removeHeader(String) - Method in interface org.jsoup.Connection.Base
-
Remove headers by name.
- removeHeader(String) - Method in class org.jsoup.helper.HttpConnection.Base
- removeIgnoreCase(String) - Method in class org.jsoup.nodes.Attributes
-
Remove an attribute by key.
- removeLastFormattingElement() - Method in class org.jsoup.parser.HtmlTreeBuilder
- removeProtocols(String, String, String...) - Method in class org.jsoup.safety.Whitelist
-
Remove allowed URL protocols for an element's URL attribute.
- removeRange(int, int) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- 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
- replaceActiveFormattingElement(Element, Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- replaceChild(Node, Node) - Method in class org.jsoup.nodes.Node
- replaceInQueue(ArrayList<Element>, Element, Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- replacementChar - Static variable in class org.jsoup.parser.Tokeniser
- replacementChar - Static variable in enum org.jsoup.parser.TokeniserState
- replacementStr - Static variable in enum org.jsoup.parser.TokeniserState
- replaceOnStack(Element, Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- replaceRightMostEvaluator(Evaluator) - Method in class org.jsoup.select.CombiningEvaluator
- replaceWith(Node) - Method in class org.jsoup.nodes.Node
-
Replace this node in the DOM with the supplied node.
- req - Variable in class org.jsoup.helper.HttpConnection
- req - Variable in class org.jsoup.helper.HttpConnection.Response
- request() - Method in interface org.jsoup.Connection
-
Get the request object associated with this connection
- request() - Method in class org.jsoup.helper.HttpConnection
- request(Connection.Request) - Method in interface org.jsoup.Connection
-
Set the connection's request
- request(Connection.Request) - Method in class org.jsoup.helper.HttpConnection
- Request() - Constructor for class org.jsoup.helper.HttpConnection.Request
- requestBody() - Method in interface org.jsoup.Connection.Request
-
Get the current request body.
- requestBody() - Method in class org.jsoup.helper.HttpConnection.Request
- requestBody(String) - Method in interface org.jsoup.Connection.Request
-
Set a POST (or PUT) 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(String) - Method in class org.jsoup.helper.HttpConnection
- res - Variable in class org.jsoup.helper.HttpConnection
- reset() - Method in class org.jsoup.internal.ConstrainableInputStream
- reset() - Method in class org.jsoup.parser.Token.Character
- reset() - Method in class org.jsoup.parser.Token.Comment
- reset() - Method in class org.jsoup.parser.Token.Doctype
- reset() - Method in class org.jsoup.parser.Token.EOF
- reset() - Method in class org.jsoup.parser.Token
-
Reset the data represent by this token, for reuse.
- reset() - Method in class org.jsoup.parser.Token.StartTag
- reset() - Method in class org.jsoup.parser.Token.Tag
- reset(StringBuilder) - Static method in class org.jsoup.parser.Token
- resetInsertionMode() - Method in class org.jsoup.parser.HtmlTreeBuilder
- resolve(String, String) - Static method in class org.jsoup.internal.StringUtil
-
Create a new absolute URL, from a provided existing absolute URL and a relative URL component.
- resolve(URL, String) - Static method in class org.jsoup.internal.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() - Method in class org.jsoup.helper.HttpConnection
- response(Connection.Response) - Method in interface org.jsoup.Connection
-
Set the connection's response
- response(Connection.Response) - Method in class org.jsoup.helper.HttpConnection
- Response() - Constructor for class org.jsoup.helper.HttpConnection.Response
- Response(HttpConnection.Response) - Constructor for class org.jsoup.helper.HttpConnection.Response
- retainAll(Collection<?>) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- rewindToMark() - Method in class org.jsoup.parser.CharacterReader
- rightMostEvaluator() - Method in class org.jsoup.select.CombiningEvaluator
- root - Variable in class org.jsoup.safety.Cleaner.CleaningVisitor
- root - Variable in class org.jsoup.select.Collector.Accumulator
- root - Variable in class org.jsoup.select.Collector.FirstFinder
- root() - Method in class org.jsoup.nodes.Node
-
Get this node's root node; that is, its topmost ancestor.
- Root() - Constructor for class org.jsoup.select.StructuralEvaluator.Root
- runParser() - Method in class org.jsoup.parser.TreeBuilder
S
- safeClose() - Method in class org.jsoup.helper.HttpConnection.Response
-
Call on completion of stream read, to close the body (or error) stream
- scanHeaders(String) - Method in class org.jsoup.helper.HttpConnection.Base
- ScriptData - org.jsoup.parser.TokeniserState
- ScriptDataDoubleEscaped - org.jsoup.parser.TokeniserState
- ScriptDataDoubleEscapedDash - org.jsoup.parser.TokeniserState
- ScriptDataDoubleEscapedDashDash - org.jsoup.parser.TokeniserState
- ScriptDataDoubleEscapedLessthanSign - org.jsoup.parser.TokeniserState
- ScriptDataDoubleEscapeEnd - org.jsoup.parser.TokeniserState
- ScriptDataDoubleEscapeStart - org.jsoup.parser.TokeniserState
- ScriptDataEndTagName - org.jsoup.parser.TokeniserState
- ScriptDataEndTagOpen - org.jsoup.parser.TokeniserState
- ScriptDataEscaped - org.jsoup.parser.TokeniserState
- ScriptDataEscapedDash - org.jsoup.parser.TokeniserState
- ScriptDataEscapedDashDash - org.jsoup.parser.TokeniserState
- ScriptDataEscapedEndTagName - org.jsoup.parser.TokeniserState
- ScriptDataEscapedEndTagOpen - org.jsoup.parser.TokeniserState
- ScriptDataEscapedLessthanSign - org.jsoup.parser.TokeniserState
- ScriptDataEscapeStart - org.jsoup.parser.TokeniserState
- ScriptDataEscapeStartDash - org.jsoup.parser.TokeniserState
- ScriptDataLessthanSign - org.jsoup.parser.TokeniserState
- searchText - Variable in class org.jsoup.select.Evaluator.ContainsData
- searchText - Variable in class org.jsoup.select.Evaluator.ContainsOwnText
- searchText - Variable in class org.jsoup.select.Evaluator.ContainsText
- select(String) - Method in class org.jsoup.nodes.Element
-
Find elements that match the
SelectorCSS 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, Iterable<Element>) - Static method in class org.jsoup.select.Selector
-
Find elements matching selector.
- 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.
- selectFirst(String) - Method in class org.jsoup.nodes.Element
-
Find the first Element that matches the
SelectorCSS query, with this element as the starting context. - selectFirst(String, Element) - Static method in class org.jsoup.select.Selector
-
Find the first element that matches the query.
- Selector - Class in org.jsoup.select
-
CSS-like element selector, that finds elements matching a query.
- Selector() - Constructor for class org.jsoup.select.Selector
- Selector.SelectorParseException - Exception in org.jsoup.select
- SelectorParseException(String, Object...) - Constructor for exception org.jsoup.select.Selector.SelectorParseException
- selfClosing - Variable in class org.jsoup.parser.Tag
- selfClosing - Variable in class org.jsoup.parser.Token.Tag
- SelfClosingStartTag - org.jsoup.parser.TokeniserState
- serialiseRequestUrl(Connection.Request) - Static method in class org.jsoup.helper.HttpConnection.Response
- 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(String, Throwable) - Constructor for exception org.jsoup.SerializationException
-
Creates and initializes a new serialization exception with the given error message and 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 ofcause). - set(int, E) - Method in class org.jsoup.helper.ChangeNotifyingArrayList
- setBaseUri(String) - Method in class org.jsoup.nodes.Node
-
Update the base URI of this node and all of its descendants.
- setEmptyAttributeValue() - Method in class org.jsoup.parser.Token.Tag
- setFormElement(FormElement) - Method in class org.jsoup.parser.HtmlTreeBuilder
- setFosterInserts(boolean) - Method in class org.jsoup.parser.HtmlTreeBuilder
- setHeadElement(Element) - Method in class org.jsoup.parser.HtmlTreeBuilder
- setKey(String) - Method in class org.jsoup.nodes.Attribute
-
Set the attribute key; case is preserved.
- setOutputContentType(Connection.Request) - Static method in class org.jsoup.helper.HttpConnection.Response
- setParentNode(Node) - Method in class org.jsoup.nodes.Node
- setPubSysKey(String) - Method in class org.jsoup.nodes.DocumentType
- setSelfClosing() - Method in class org.jsoup.parser.Tag
- setSiblingIndex(int) - Method in class org.jsoup.nodes.Node
- settings - Variable in class org.jsoup.parser.Parser
- settings - Variable in class org.jsoup.parser.TreeBuilder
- settings() - Method in class org.jsoup.parser.Parser
- settings(ParseSettings) - Method in class org.jsoup.parser.Parser
- 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.
- setupFromConnection(HttpURLConnection, HttpConnection.Response) - Method in class org.jsoup.helper.HttpConnection.Response
- 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.
- shadowChildrenRef - Variable in class org.jsoup.nodes.Element
- shallowClone() - Method in class org.jsoup.nodes.Element
- shallowClone() - Method in class org.jsoup.nodes.Node
-
Create a stand-alone, shallow copy of this node.
- shouldCollapseAttribute(String, String, Document.OutputSettings) - Static method in class org.jsoup.nodes.Attribute
- 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 - Variable in class org.jsoup.nodes.Node
- 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.
- siblings(String, boolean, boolean) - Method in class org.jsoup.select.Elements
- simpleText() - Static method in class org.jsoup.safety.Whitelist
-
This whitelist allows only simple text formatting:
b, em, i, strong, u. - size - Variable in class org.jsoup.nodes.Attributes
- size() - Method in class org.jsoup.nodes.Attributes.Dataset.EntrySet
- size() - Method in class org.jsoup.nodes.Attributes
-
Get the number of attributes in this set.
- size() - Method in enum org.jsoup.nodes.Entities.EscapeMode
- SKIP_CHILDREN - org.jsoup.select.NodeFilter.FilterResult
-
Skip the child nodes, but do call
NodeFilter.tail(Node, int)next. - SKIP_ENTIRELY - org.jsoup.select.NodeFilter.FilterResult
-
Skip the subtree, and do not call
NodeFilter.tail(Node, int). - specificScopeTarget - Variable in class org.jsoup.parser.HtmlTreeBuilder
- splitText(int) - Method in class org.jsoup.nodes.TextNode
-
Split this text node into two nodes at the specified string offset.
- sslSocketFactory - Variable in class org.jsoup.helper.HttpConnection.Request
- sslSocketFactory() - Method in interface org.jsoup.Connection.Request
-
Get the current custom SSL socket factory, if any.
- sslSocketFactory() - Method in class org.jsoup.helper.HttpConnection.Request
- sslSocketFactory(SSLSocketFactory) - Method in interface org.jsoup.Connection.Request
-
Set a custom SSL socket factory.
- sslSocketFactory(SSLSocketFactory) - Method in interface org.jsoup.Connection
-
Set custom SSL socket factory
- sslSocketFactory(SSLSocketFactory) - Method in class org.jsoup.helper.HttpConnection.Request
- sslSocketFactory(SSLSocketFactory) - Method in class org.jsoup.helper.HttpConnection
- stack - Variable in class org.jsoup.parser.TreeBuilder
- start - Variable in class org.jsoup.parser.TreeBuilder
- startPending - Variable in class org.jsoup.parser.Tokeniser
- StartTag - org.jsoup.parser.Token.TokenType
- StartTag() - Constructor for class org.jsoup.parser.Token.StartTag
- startTime - Variable in class org.jsoup.internal.ConstrainableInputStream
- state - Variable in class org.jsoup.parser.HtmlTreeBuilder
- state - Variable in class org.jsoup.parser.Tokeniser
- state() - Method in class org.jsoup.parser.HtmlTreeBuilder
- statusCode - Variable in class org.jsoup.helper.HttpConnection.Response
- statusCode - Variable in exception org.jsoup.HttpStatusException
- 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 - Variable 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
- STOP - org.jsoup.select.NodeFilter.FilterResult
-
Stop processing
- stream - Variable in class org.jsoup.helper.HttpConnection.KeyVal
- stringCache - Variable in class org.jsoup.parser.CharacterReader
- StringUtil - Class in org.jsoup.internal
-
A minimal String utility class.
- StringUtil() - Constructor for class org.jsoup.internal.StringUtil
- stripLeadingWhitespace(String) - Static method in class org.jsoup.nodes.TextNode
- StructuralEvaluator - Class in org.jsoup.select
-
Base structural evaluator.
- StructuralEvaluator() - Constructor for class org.jsoup.select.StructuralEvaluator
- StructuralEvaluator.Has - Class in org.jsoup.select
- StructuralEvaluator.ImmediateParent - Class in org.jsoup.select
- StructuralEvaluator.ImmediatePreviousSibling - Class in org.jsoup.select
- StructuralEvaluator.Not - Class in org.jsoup.select
- StructuralEvaluator.Parent - Class in org.jsoup.select
- StructuralEvaluator.PreviousSibling - Class in org.jsoup.select
- StructuralEvaluator.Root - Class in org.jsoup.select
- submit() - Method in class org.jsoup.nodes.FormElement
-
Prepare to submit this form.
- syntax - Variable in class org.jsoup.nodes.Document.OutputSettings
- 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.
- Syntax() - Constructor for enum org.jsoup.nodes.Document.OutputSettings.Syntax
- SYSTEM_ID - Static variable in class org.jsoup.nodes.DocumentType
- SYSTEM_KEY - Static variable in class org.jsoup.nodes.DocumentType
- systemIdentifier - Variable in class org.jsoup.parser.Token.Doctype
T
- tag - Variable in class org.jsoup.nodes.Element
- tag() - Method in class org.jsoup.nodes.Element
-
Get the Tag for this element.
- Tag - Class in org.jsoup.parser
-
HTML Tag capabilities.
- Tag() - Constructor for class org.jsoup.parser.Token.Tag
- Tag(String) - Constructor for class org.jsoup.parser.Tag
- Tag(String) - Constructor for class org.jsoup.select.Evaluator.Tag
- TagEndsWith(String) - Constructor for class org.jsoup.select.Evaluator.TagEndsWith
- tagName - Variable in class org.jsoup.parser.Tag
- tagName - Variable in class org.jsoup.parser.Token.Tag
- tagName - Variable in class org.jsoup.select.Evaluator.Tag
- tagName - Variable in class org.jsoup.select.Evaluator.TagEndsWith
- 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.
- TagName - org.jsoup.parser.TokeniserState
- TagName(String) - Constructor for class org.jsoup.safety.Whitelist.TagName
- tagNames - Variable in class org.jsoup.safety.Whitelist
- TagOpen - org.jsoup.parser.TokeniserState
- tagPending - Variable in class org.jsoup.parser.Tokeniser
- tags - Static variable in class org.jsoup.parser.Tag
- TagSearchButton - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- TagSearchEndTags - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- TagSearchList - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- TagSearchSelectScope - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- TagSearchSpecial - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- TagSearchTableScope - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- TagsSearchInScope - Static variable in class org.jsoup.parser.HtmlTreeBuilder
- tail(Node, int) - Method in class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- tail(Node, int) - Method in class org.jsoup.helper.W3CDom.W3CBuilder
- tail(Node, int) - Method in class org.jsoup.nodes.Node.OuterHtmlVisitor
- tail(Node, int) - Method in class org.jsoup.safety.Cleaner.CleaningVisitor
- tail(Node, int) - Method in class org.jsoup.select.Collector.Accumulator
- tail(Node, int) - Method in class org.jsoup.select.Collector.FirstFinder
- tail(Node, int) - Method in interface org.jsoup.select.NodeFilter
-
Callback for when a node is last visited, after all of its descendants have been visited.
- 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.
- testValidProtocol(Element, Attribute, Set<Whitelist.Protocol>) - Method in class org.jsoup.safety.Whitelist
- text() - Method in class org.jsoup.nodes.CDataNode
-
Get the unencoded, non-normalized text content of this CDataNode.
- text() - Method in class org.jsoup.nodes.Element
-
Gets the combined text of this element and all its children.
- text() - Method in class org.jsoup.nodes.TextNode
-
Get the text content of this text node.
- text() - Method in class org.jsoup.select.Elements
-
Get the combined text of all the matched elements.
- text(String) - Method in class org.jsoup.nodes.Document
-
Set the text of the
bodyof this document. - text(String) - Method in class org.jsoup.nodes.Element
-
Set the text of this element.
- text(String) - Method in class org.jsoup.nodes.TextNode
-
Set the text content of this text node.
- Text - org.jsoup.parser.HtmlTreeBuilderState
- TextNode - Class in org.jsoup.nodes
-
A text node.
- TextNode(String) - Constructor for class org.jsoup.nodes.TextNode
-
Create a new TextNode representing the supplied (unencoded) text).
- TextNode(String, String) - Constructor for class org.jsoup.nodes.TextNode
-
Deprecated.use
TextNode(String) - textNodes() - Method in class org.jsoup.nodes.Element
-
Get this element's child text nodes.
- timeout - Static variable in class org.jsoup.examples.HtmlToPlainText
- timeout - Variable in class org.jsoup.internal.ConstrainableInputStream
- timeout() - Method in interface org.jsoup.Connection.Request
-
Get the request timeout, in milliseconds.
- timeout() - Method in class org.jsoup.helper.HttpConnection.Request
- timeout(int) - Method in interface org.jsoup.Connection.Request
-
Update the request timeout.
- timeout(int) - Method in interface org.jsoup.Connection
-
Set the total request timeout duration.
- timeout(int) - Method in class org.jsoup.helper.HttpConnection.Request
- timeout(int) - Method in class org.jsoup.helper.HttpConnection
- timeout(long, long) - Method in class org.jsoup.internal.ConstrainableInputStream
- timeoutMilliseconds - Variable in class org.jsoup.helper.HttpConnection.Request
- title() - Method in class org.jsoup.nodes.Document
-
Get the string contents of the document's
titleelement. - title(String) - Method in class org.jsoup.nodes.Document
-
Set the document's
titleelement. - toggleClass(String) - Method in class org.jsoup.nodes.Element
-
Toggle a class name on this element's
classattribute: 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
classattribute. - Token - Class in org.jsoup.parser
-
Parse tokens for the Tokeniser.
- Token() - Constructor for class org.jsoup.parser.Token
- Token.CData - Class in org.jsoup.parser
- Token.Character - Class in org.jsoup.parser
- Token.Comment - Class in org.jsoup.parser
- Token.Doctype - Class in org.jsoup.parser
- Token.EndTag - Class in org.jsoup.parser
- Token.EOF - Class in org.jsoup.parser
- Token.StartTag - Class in org.jsoup.parser
- Token.Tag - Class in org.jsoup.parser
- Token.TokenType - Enum in org.jsoup.parser
- tokeniser - Variable in class org.jsoup.parser.TreeBuilder
- Tokeniser - Class in org.jsoup.parser
-
Readers the input stream into tokens.
- Tokeniser(CharacterReader, ParseErrorList) - Constructor for class org.jsoup.parser.Tokeniser
- TokeniserState - Enum in org.jsoup.parser
-
States and transition activations for the Tokeniser.
- TokeniserState() - Constructor for enum org.jsoup.parser.TokeniserState
- 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.
- tokenType() - Method in class org.jsoup.parser.Token
- TokenType() - Constructor for enum org.jsoup.parser.Token.TokenType
- toString() - Method in class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- 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.Node
-
Gets this node's outer HTML.
- toString() - Method in class org.jsoup.nodes.TextNode
- toString() - Method in class org.jsoup.nodes.XmlDeclaration
- toString() - Method in class org.jsoup.parser.CharacterReader
- 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.Token.CData
- toString() - Method in class org.jsoup.parser.Token.Character
- toString() - Method in class org.jsoup.parser.Token.Comment
- toString() - Method in class org.jsoup.parser.Token.EndTag
- toString() - Method in class org.jsoup.parser.Token.StartTag
- toString() - Method in class org.jsoup.parser.TokenQueue
- toString() - Method in class org.jsoup.safety.Whitelist.TypedValue
- toString() - Method in class org.jsoup.select.CombiningEvaluator.And
- toString() - Method in class org.jsoup.select.CombiningEvaluator.Or
- 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.ContainsData
- 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.MatchText
- toString() - Method in class org.jsoup.select.Evaluator.Tag
- toString() - Method in class org.jsoup.select.Evaluator.TagEndsWith
- toString() - Method in class org.jsoup.select.StructuralEvaluator.Has
- toString() - Method in class org.jsoup.select.StructuralEvaluator.ImmediateParent
- toString() - Method in class org.jsoup.select.StructuralEvaluator.ImmediatePreviousSibling
- toString() - Method in class org.jsoup.select.StructuralEvaluator.Not
- toString() - Method in class org.jsoup.select.StructuralEvaluator.Parent
- toString() - Method in class org.jsoup.select.StructuralEvaluator.PreviousSibling
- toString() - Method in exception org.jsoup.UnsupportedMimeTypeException
- tq - Variable in class org.jsoup.select.QueryParser
- TRACE - org.jsoup.Connection.Method
- tracking(int) - Static method in class org.jsoup.parser.ParseErrorList
- transition(HtmlTreeBuilderState) - Method in class org.jsoup.parser.HtmlTreeBuilder
- transition(TokeniserState) - Method in class org.jsoup.parser.Tokeniser
- traverse(Node) - Method in class org.jsoup.select.NodeTraversor
-
Deprecated.Just use the static
NodeTraversor.filter(NodeFilter, Node)method. - 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(NodeVisitor, Node) - Static method in class org.jsoup.select.NodeTraversor
-
Start a depth-first traverse of the root and all of its descendants.
- traverse(NodeVisitor, Elements) - Static method in class org.jsoup.select.NodeTraversor
-
Start a depth-first traverse of all elements.
- treeBuilder - Variable in class org.jsoup.parser.Parser
- TreeBuilder - Class in org.jsoup.parser
- TreeBuilder() - Constructor for class org.jsoup.parser.TreeBuilder
- trim(String, int) - Static method in class org.jsoup.examples.ListLinks
- type - Variable in class org.jsoup.parser.Token
- TypedValue(String) - Constructor for class org.jsoup.safety.Whitelist.TypedValue
U
- UncheckedIOException - Exception in org.jsoup
- UncheckedIOException(IOException) - Constructor for exception org.jsoup.UncheckedIOException
- UncheckedIOException(String) - Constructor for exception org.jsoup.UncheckedIOException
- unconsume() - Method in class org.jsoup.parser.CharacterReader
- unescape(String) - Static method in class org.jsoup.nodes.Entities
-
Un-escape an HTML escaped string.
- unescape(String) - Static method in class org.jsoup.parser.TokenQueue
-
Unescape a \ escaped string.
- unescape(String, boolean) - Static method in class org.jsoup.nodes.Entities
-
Unescape the input string.
- unescapeEntities(boolean) - Method in class org.jsoup.parser.Tokeniser
-
Utility method to consume reader and unescape entities found within.
- unescapeEntities(String, boolean) - Static method in class org.jsoup.parser.Parser
-
Utility method to unescape HTML entities from a string
- UnsupportedMimeTypeException - Exception in org.jsoup
-
Signals that a HTTP response returned a mime type that is not supported.
- UnsupportedMimeTypeException(String, String, String) - Constructor for exception org.jsoup.UnsupportedMimeTypeException
- unwrap() - Method in class org.jsoup.nodes.Node
-
Removes this node from the DOM, and moves its children up into the node's parent.
- unwrap() - Method in class org.jsoup.select.Elements
-
Removes the matched elements from the DOM, and moves their children up into their parents.
- updateMetaCharset - Variable in class org.jsoup.nodes.Document
- updateMetaCharsetElement() - Method in class org.jsoup.nodes.Document
-
Returns whether the element with charset information in this document is updated on changes through
Document.charset(Charset)or not. - updateMetaCharsetElement(boolean) - Method in class org.jsoup.nodes.Document
-
Sets whether the element with charset information in this document is updated on changes through
Document.charset(Charset)or not. - updateNamespaces(Element) - Method in class org.jsoup.helper.W3CDom.W3CBuilder
-
Finds any namespaces defined in this element.
- updateNumEvaluators() - Method in class org.jsoup.select.CombiningEvaluator
- url - Variable in class org.jsoup.helper.HttpConnection.Base
- url - Variable in exception org.jsoup.HttpStatusException
- url - Variable in exception org.jsoup.UnsupportedMimeTypeException
- url() - Method in interface org.jsoup.Connection.Base
-
Get the URL
- url() - Method in class org.jsoup.helper.HttpConnection.Base
- url(String) - Method in interface org.jsoup.Connection
-
Set the request URL to fetch.
- url(String) - Method in class org.jsoup.helper.HttpConnection
- url(URL) - Method in interface org.jsoup.Connection.Base
-
Set the URL
- url(URL) - Method in interface org.jsoup.Connection
-
Set the request URL to fetch.
- url(URL) - Method in class org.jsoup.helper.HttpConnection.Base
- url(URL) - Method in class org.jsoup.helper.HttpConnection
- USER_AGENT - Static variable in class org.jsoup.helper.HttpConnection
- userAgent - Static variable in class org.jsoup.examples.HtmlToPlainText
- userAgent(String) - Method in interface org.jsoup.Connection
-
Set the request user-agent header.
- userAgent(String) - Method in class org.jsoup.helper.HttpConnection
- utf - org.jsoup.nodes.Entities.CoreCharset
V
- val - Variable in class org.jsoup.nodes.Attribute
- val() - Method in class org.jsoup.nodes.Element
-
Get 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.nodes.Element
-
Set the value of a form element (input, textarea, etc).
- 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.
- Validate() - Constructor for class org.jsoup.helper.Validate
- validateCharset(String) - Static method in class org.jsoup.helper.DataUtil
- vals - Variable in class org.jsoup.nodes.Attributes
- value - Variable in class org.jsoup.helper.HttpConnection.KeyVal
- value - Variable in class org.jsoup.nodes.LeafNode
- value - Variable in class org.jsoup.safety.Whitelist.TypedValue
- value - Variable in class org.jsoup.select.Evaluator.AttributeKeyPair
- value() - Method in interface org.jsoup.Connection.KeyVal
-
Get the value of a keyval
- value() - Method in class org.jsoup.helper.HttpConnection.KeyVal
- value(String) - Method in interface org.jsoup.Connection.KeyVal
-
Update the value of a keyval
- value(String) - 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.CoreCharset
-
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 enum org.jsoup.parser.HtmlTreeBuilderState
-
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.
- valueOf(String) - Static method in enum org.jsoup.parser.Token.TokenType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jsoup.parser.TokeniserState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class org.jsoup.safety.Whitelist.AttributeKey
- valueOf(String) - Static method in class org.jsoup.safety.Whitelist.AttributeValue
- valueOf(String) - Static method in class org.jsoup.safety.Whitelist.Protocol
- valueOf(String) - Static method in class org.jsoup.safety.Whitelist.TagName
- valueOf(String) - Static method in enum org.jsoup.select.NodeFilter.FilterResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String, ParseSettings) - 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.CoreCharset
-
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.
- values() - Static method in enum org.jsoup.parser.HtmlTreeBuilderState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jsoup.parser.Token.TokenType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jsoup.parser.TokeniserState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jsoup.select.NodeFilter.FilterResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visitor - Variable in class org.jsoup.select.NodeTraversor
W
- W3CBuilder(Document) - Constructor for class org.jsoup.helper.W3CDom.W3CBuilder
- W3CDom - Class in org.jsoup.helper
-
Helper class to transform a
Documentto aorg.w3c.dom.Document, for integration with toolsets that use the W3C DOM. - W3CDom() - Constructor for class org.jsoup.helper.W3CDom
- W3CDom.W3CBuilder - Class in org.jsoup.helper
-
Implements the conversion by walking the input.
- whitelist - Variable in class org.jsoup.safety.Cleaner
- Whitelist - Class in org.jsoup.safety
-
Whitelists define what HTML (elements and attributes) to allow through the cleaner.
- Whitelist() - Constructor for class org.jsoup.safety.Whitelist
-
Create a new, empty whitelist.
- Whitelist.AttributeKey - Class in org.jsoup.safety
- Whitelist.AttributeValue - Class in org.jsoup.safety
- Whitelist.Protocol - Class in org.jsoup.safety
- Whitelist.TagName - Class in org.jsoup.safety
- Whitelist.TypedValue - Class in org.jsoup.safety
- wholeText() - Method in class org.jsoup.nodes.Element
-
Get the (unencoded) text of all children of this element, including any newlines and spaces present in the original.
- width - Variable in class org.jsoup.examples.HtmlToPlainText.FormattingVisitor
- Wikipedia - Class in org.jsoup.examples
-
A simple example, used on the jsoup website.
- Wikipedia() - Constructor for class org.jsoup.examples.Wikipedia
- win1252Extensions - Static variable in class org.jsoup.parser.Tokeniser
- win1252ExtensionsStart - Static variable in class org.jsoup.parser.Tokeniser
- wrap(InputStream, int, int) - Static method in class org.jsoup.internal.ConstrainableInputStream
-
If this InputStream is not already a ConstrainableInputStream, let it be one.
- wrap(String) - Method in class org.jsoup.nodes.Element
-
Wrap the supplied HTML around this element.
- wrap(String) - Method in class org.jsoup.nodes.Node
-
Wrap the supplied HTML around this node.
- wrap(String) - Method in class org.jsoup.select.Elements
-
Wrap the supplied HTML around each matched elements.
- writePost(Connection.Request, OutputStream, String) - Static method in class org.jsoup.helper.HttpConnection.Response
X
- xhtml - org.jsoup.nodes.Entities.EscapeMode
-
Restricted entities suitable for XHTML output: lt, gt, amp, and quot only.
- xml - org.jsoup.nodes.Document.OutputSettings.Syntax
- xmlContentTypeRxp - Static variable in class org.jsoup.helper.HttpConnection.Response
- XmlDeclaration - Class in org.jsoup.nodes
-
An XML Declaration.
- XmlDeclaration(String, boolean) - Constructor for class org.jsoup.nodes.XmlDeclaration
-
Create a new XML declaration
- XmlDeclaration(String, String, boolean) - Constructor for class org.jsoup.nodes.XmlDeclaration
-
Deprecated.
- xmlnsKey - Static variable in class org.jsoup.helper.W3CDom.W3CBuilder
- xmlnsPrefix - Static variable in class org.jsoup.helper.W3CDom.W3CBuilder
- xmlParser() - Static method in class org.jsoup.parser.Parser
-
Create a new XML parser.
- xmlPoints - Static variable in class org.jsoup.nodes.EntitiesData
- XmlTreeBuilder - Class in org.jsoup.parser
-
Use the
XmlTreeBuilderwhen you want to parse XML without any of the HTML DOM rules being applied to the document. - XmlTreeBuilder() - Constructor for class org.jsoup.parser.XmlTreeBuilder
All Classes All Packages