Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code4craft/jsoup-learning
/ functions
Functions
1,337 in github.com/code4craft/jsoup-learning
⨍
Functions
1,337
◇
Types & classes
164
↓ 6 callers
Method
ownText
Gets the text owned by this element only; does not get the combined text of all children. <p> For example, given HTML {@code <p>Hello <b>there</b> now
src/main/java/org/jsoup/nodes/Element.java:850
↓ 6 callers
Method
parse
Parse a CSS query into an Evaluator. @param query CSS query @return Evaluator
src/main/java/org/jsoup/select/QueryParser.java:36
↓ 6 callers
Method
parseFragment
Parse a fragment of HTML into a list of nodes. The context element, if supplied, supplies parsing context. @param fragmentHtml the fragment of HTML t
src/main/java/org/jsoup/parser/Parser.java:104
↓ 6 callers
Method
print
(String msgFormat, Object... msgParams)
src/test/java/org/jsoup/integration/Benchmark.java:34
↓ 6 callers
Method
removeChild
(Node out)
src/main/java/org/jsoup/nodes/Node.java:420
↓ 6 callers
Method
toString
()
src/main/java/org/jsoup/parser/Token.java:176
↓ 6 callers
Method
toString
()
src/main/java/org/jsoup/nodes/Element.java:1126
↓ 5 callers
Method
addTags
Add a list of allowed elements to a whitelist. (If a tag is not allowed, it will be removed from the HTML.) @param tags tag names to allow
src/main/java/org/jsoup/safety/Whitelist.java:184
↓ 5 callers
Method
append
(String text)
src/main/java/org/jsoup/examples/HtmlToPlainText.java:77
↓ 5 callers
Method
attributes
()
src/test/java/org/jsoup/select/ElementsTest.java:28
↓ 5 callers
Method
canAddError
()
src/main/java/org/jsoup/parser/ParseErrorList.java:20
↓ 5 callers
Method
characterReferenceError
(String message)
src/main/java/org/jsoup/parser/Tokeniser.java:209
↓ 5 callers
Method
create
(String key, String value)
src/main/java/org/jsoup/helper/HttpConnection.java:659
↓ 5 callers
Method
elements
Get the list of form control elements associated with this form. @return form controls associated with this element.
src/main/java/org/jsoup/nodes/FormElement.java:35
↓ 5 callers
Method
getErrors
Retrieve the parse errors, if any, from the last parse. @return list of parse errors, up to the size of the maximum errors tracked.
src/main/java/org/jsoup/parser/Parser.java:76
↓ 5 callers
Method
getFormElement
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:512
↓ 5 callers
Method
hasHeader
Check if a header is present @param name name of header (case insensitive) @return if the header is present in this request/response
src/main/java/org/jsoup/Connection.java:287
↓ 5 callers
Method
isEmpty
()
src/main/java/org/jsoup/select/Elements.java:507
↓ 5 callers
Method
join
Join a collection of strings by a seperator @param strings collection of string objects @param sep string to place between strings @return joined stri
src/main/java/org/jsoup/helper/StringUtil.java:19
↓ 5 callers
Method
load
Loads a file to a Document. @param in file to load @param charsetName character set of input @param baseUri base URI of document, to resolve relative
src/main/java/org/jsoup/helper/DataUtil.java:33
↓ 5 callers
Method
markInsertionMode
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:112
↓ 5 callers
Method
matches
(Element root, Element element)
src/main/java/org/jsoup/select/StructuralEvaluator.java:22
↓ 5 callers
Method
onStack
(Element el)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:257
↓ 5 callers
Method
padding
Returns space padding @param width amount of padding desired @return string of spaces width
src/main/java/org/jsoup/helper/StringUtil.java:50
↓ 5 callers
Method
parseByteData
(ByteBuffer byteData, String charsetName, String baseUri, Parser parser)
src/main/java/org/jsoup/helper/DataUtil.java:74
↓ 5 callers
Method
previousElementSibling
Gets the previous element sibling of this element. @return the previous element, or null if there is no previous element @see #nextElementSibling()
src/main/java/org/jsoup/nodes/Element.java:488
↓ 5 callers
Method
removeFromStack
(Element el)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:283
↓ 5 callers
Method
text
Get the combined text of all the matched elements. <p> Note that it is possible to get repeats if the matched elements contain both parent elements an
src/main/java/org/jsoup/select/Elements.java:188
↓ 5 callers
Method
textNodes
Get this element's child text nodes. The list is unmodifiable but the text nodes may be manipulated. <p/> This is effectively a filter on {@link #chil
src/main/java/org/jsoup/nodes/Element.java:208
↓ 5 callers
Method
timeout
Get the request timeout, in milliseconds. @return the timeout in milliseconds.
src/main/java/org/jsoup/Connection.java:350
↓ 5 callers
Method
xmlParser
Create a new XML parser. This parser assumes no knowledge of the incoming tags and does not treat it as HTML, rather creates a simple tree directly fr
src/main/java/org/jsoup/parser/Parser.java:178
↓ 4 callers
Method
aboveOnStack
(Element el)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:356
↓ 4 callers
Method
anythingElse
(Tokeniser t, CharacterReader r)
src/main/java/org/jsoup/parser/TokeniserState.java:301
↓ 4 callers
Method
clear
()
src/main/java/org/jsoup/select/Elements.java:531
↓ 4 callers
Method
clone
Create a stand-alone, deep copy of this node, and all of its children. The cloned node will have no siblings or parent node. As a stand-alone object,
src/main/java/org/jsoup/nodes/Node.java:595
↓ 4 callers
Method
consumeToAny
(final char... chars)
src/main/java/org/jsoup/parser/CharacterReader.java:123
↓ 4 callers
Method
consumeWhitespace
Pulls the next run of whitespace characters of the queue.
src/main/java/org/jsoup/parser/TokenQueue.java:307
↓ 4 callers
Method
containsIgnoreCase
(String seq)
src/main/java/org/jsoup/parser/CharacterReader.java:274
↓ 4 callers
Method
createDoctypePending
()
src/main/java/org/jsoup/parser/Tokeniser.java:177
↓ 4 callers
Method
cssNthChild
(boolean backwards, boolean ofType)
src/main/java/org/jsoup/select/QueryParser.java:277
↓ 4 callers
Method
getElementsByClass
Find elements that have this class, including or under this element. Case insensitive. <p> Elements can have multiple classes (e.g. {@code <div class=
src/main/java/org/jsoup/nodes/Element.java:584
↓ 4 callers
Method
getWholeData
Get the data contents of this node. Will be unescaped and with original new lines, space etc. @return data
src/main/java/org/jsoup/nodes/DataNode.java:28
↓ 4 callers
Method
handleRawtext
(Token.StartTag startTag, HtmlTreeBuilder tb)
src/main/java/org/jsoup/parser/HtmlTreeBuilderState.java:1479
↓ 4 callers
Method
hasClass
Tests if this element has a class. Case insensitive. @param className name of class to check for @return true if it does, false if not
src/main/java/org/jsoup/nodes/Element.java:988
↓ 4 callers
Method
indent
(StringBuilder accum, int depth, Document.OutputSettings out)
src/main/java/org/jsoup/nodes/Node.java:567
↓ 4 callers
Method
indentAmount
Get the current tag indent amount, used when pretty printing. @return the current indent amount
src/main/java/org/jsoup/nodes/Document.java:321
↓ 4 callers
Method
insertNode
(Node node)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:224
↓ 4 callers
Method
insertNode
(Node node)
src/main/java/org/jsoup/parser/XmlTreeBuilder.java:46
↓ 4 callers
Method
isAppropriateEndTagToken
()
src/main/java/org/jsoup/parser/Tokeniser.java:189
↓ 4 callers
Method
isFalse
Validates that the value is false @param val object to test
src/main/java/org/jsoup/helper/Validate.java:52
↓ 4 callers
Method
isSpecial
(Element el)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:551
↓ 4 callers
Method
isValid
Test if the input HTML has only tags and attributes allowed by the Whitelist. Useful for form validation. The input HTML should still be run thro
src/main/java/org/jsoup/Jsoup.java:246
↓ 4 callers
Method
key
Update the key of a keyval @param key new key @return this KeyVal, for chaining
src/main/java/org/jsoup/Connection.java:498
↓ 4 callers
Method
matchConsumeIgnoreCase
(String seq)
src/main/java/org/jsoup/parser/CharacterReader.java:265
↓ 4 callers
Method
outerHtml
()
src/main/java/org/jsoup/nodes/Document.java:178
↓ 4 callers
Method
outline
Get if outline mode is enabled. Default is false. If enabled, the HTML output methods will consider all tags as block. @return if outline mode is enab
src/main/java/org/jsoup/nodes/Document.java:303
↓ 4 callers
Method
ownerDocument
Gets the Document associated with this Node. @return the Document associated with this Node, or null if there is no such Document.
src/main/java/org/jsoup/nodes/Node.java:253
↓ 4 callers
Method
prependChild
Add a node to the start of this element's children. @param child node to add. @return this element, so that you can add more child nodes or elements.
src/main/java/org/jsoup/nodes/Element.java:274
↓ 4 callers
Method
quirksMode
()
src/main/java/org/jsoup/nodes/Document.java:374
↓ 4 callers
Method
readToByteBuffer
Read the input stream into a byte buffer. @param inStream the input stream to read from @param maxSize the maximum size in bytes to read from the stre
src/main/java/org/jsoup/helper/DataUtil.java:115
↓ 4 callers
Method
remove
()
src/test/java/org/jsoup/select/ElementsTest.java:193
↓ 4 callers
Method
removeFromActiveFormattingElements
(Element el)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:640
↓ 4 callers
Method
rewindToMark
()
src/main/java/org/jsoup/parser/CharacterReader.java:55
↓ 4 callers
Method
setFosterInserts
(boolean fosterInserts)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:508
↓ 4 callers
Method
setTrackErrors
Enable or disable parse error tracking for the next parse. @param maxErrors the maximum number of errors to track. Set to 0 to disable. @return this,
src/main/java/org/jsoup/parser/Parser.java:67
↓ 4 callers
Method
submit
Prepare to submit this form. A Connection object is created with the request set up from the form values. You can then set up other options (like user
src/main/java/org/jsoup/nodes/FormElement.java:56
↓ 4 callers
Method
toString
()
src/main/java/org/jsoup/parser/TokenQueue.java:390
↓ 4 callers
Method
toString
Get the combined outer HTML of all matched elements. Alias of {@link #outerHtml()}. @return string of all element's outer HTML. @see #text() @see #htm
src/main/java/org/jsoup/select/Elements.java:244
↓ 4 callers
Method
traverse
Start a depth-first traverse of the root and all of its descendants. @param root the root node point to traverse.
src/main/java/org/jsoup/select/NodeTraversor.java:25
↓ 4 callers
Method
value
Update the value of a keyval @param value the new value @return this KeyVal, for chaining
src/main/java/org/jsoup/Connection.java:511
↓ 4 callers
Method
valueOf
(String value)
src/main/java/org/jsoup/safety/Whitelist.java:404
↓ 3 callers
Method
anyOtherEndTag
(Token t, HtmlTreeBuilder tb)
src/main/java/org/jsoup/parser/HtmlTreeBuilderState.java:765
↓ 3 callers
Method
appendText
Create and append a new TextNode to this element. @param text the unencoded text to add @return this element
src/main/java/org/jsoup/nodes/Element.java:335
↓ 3 callers
Method
chompTo
Pulls a string off the queue (like consumeTo), and then pulls off the matched string (but does not return it). <p> If the queue runs out of characters
src/main/java/org/jsoup/parser/TokenQueue.java:241
↓ 3 callers
Method
clearFormattingElementsToLastMarker
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:631
↓ 3 callers
Method
clearStackToContext
(String... nodeNames)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:345
↓ 3 callers
Method
clearStackToTableBodyContext
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:337
↓ 3 callers
Method
clearStackToTableContext
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:333
↓ 3 callers
Method
clone
()
src/main/java/org/jsoup/nodes/Document.java:199
↓ 3 callers
Method
combinator
(char combinator)
src/main/java/org/jsoup/select/QueryParser.java:74
↓ 3 callers
Method
consumeIndex
()
src/main/java/org/jsoup/select/QueryParser.java:313
↓ 3 callers
Method
consumeLetterThenDigitSequence
()
src/main/java/org/jsoup/parser/CharacterReader.java:156
↓ 3 callers
Method
contains
(boolean own)
src/main/java/org/jsoup/select/QueryParser.java:328
↓ 3 callers
Method
createShell
Create a valid, empty shell of a document, suitable for adding more elements to. @param baseUri baseUri of document @return document with ht
src/main/java/org/jsoup/nodes/Document.java:36
↓ 3 callers
Method
data
Add a request data parameter. Request parameters are sent in the request query string for GETs, and in the request body for POSTs. A request may have
src/main/java/org/jsoup/Connection.java:115
↓ 3 callers
Method
dataNodes
Get this element's child data nodes. The list is unmodifiable but the data nodes may be manipulated. <p/> This is effectively a filter on {@link #chil
src/main/java/org/jsoup/nodes/Element.java:225
↓ 3 callers
Method
ensureAttributeValue
()
src/main/java/org/jsoup/parser/Token.java:132
↓ 3 callers
Method
findFirstElementByTagName
(String tag, Node node)
src/main/java/org/jsoup/nodes/Document.java:165
↓ 3 callers
Method
followRedirects
Get the current followRedirects configuration. @return true if followRedirects is enabled.
src/main/java/org/jsoup/Connection.java:376
↓ 3 callers
Method
formData
Get the data that this form submits. The returned list is a copy of the data, and changes to the contents of the list will not be reflected in the DOM
src/main/java/org/jsoup/nodes/FormElement.java:74
↓ 3 callers
Method
getBaseUri
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:132
↓ 3 callers
Method
getData
Get the contents of the comment. @return comment content
src/main/java/org/jsoup/nodes/Comment.java:28
↓ 3 callers
Method
getDocument
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:128
↓ 3 callers
Method
getElementsByAttribute
Find elements that have a named attribute set. Case insensitive. @param key name of the attribute, e.g. {@code href} @return elements that have this
src/main/java/org/jsoup/nodes/Element.java:596
↓ 3 callers
Method
getPendingTableCharacters
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:524
↓ 3 callers
Method
getPseudoClass
()
src/main/java/org/jsoup/select/Evaluator.java:429
↓ 3 callers
Method
handleDataEndTag
Handles RawtextEndTagName, ScriptDataEndTagName, and ScriptDataEscapedEndTagName. Same body impl, just different else exit transitions.
src/main/java/org/jsoup/parser/TokeniserState.java:1767
↓ 3 callers
Method
hasClass
Determine if any of the matched elements have this class name set in their {@code class} attribute. @param className class name to check for
src/main/java/org/jsoup/select/Elements.java:149
↓ 3 callers
Method
hasNext
Check if there is another element on the list. @return if another element
src/main/java/org/jsoup/helper/DescendableLinkedList.java:63
↓ 3 callers
Method
html
Get the HTML representation of these attributes. @return HTML
src/main/java/org/jsoup/nodes/Attributes.java:136
← previous
next →
201–300 of 1,337, ranked by callers