MCPcopy Create free account

hub / github.com/code4craft/jsoup-learning / functions

Functions1,337 in github.com/code4craft/jsoup-learning

↓ 377 callersMethodselect
Find elements that match the {@link Selector} CSS query, with this element as the starting context. Matched elements may include this element, or any
src/main/java/org/jsoup/nodes/Element.java:251
↓ 320 callersMethodparse
Parse HTML into a Document. The parser will make a sensible, balanced document tree out of any HTML. @param html HTML to parse @param ba
src/main/java/org/jsoup/Jsoup.java:30
↓ 242 callersMethodsize
()
src/main/java/org/jsoup/select/Elements.java:505
↓ 239 callersMethodtransition
(ITokeniserState state)
src/main/java/org/jsoup/parser/Tokeniser.java:89
↓ 185 callersMethodfirst
Get the first matched element. @return The first matched element, or <code>null</code> if contents is empty.
src/main/java/org/jsoup/select/Elements.java:465
↓ 175 callersMethoderror
(ITokeniserState state)
src/main/java/org/jsoup/parser/Tokeniser.java:199
↓ 170 callersMethodget
Execute the request as a GET, and parse the result. @return parsed Document @throws java.net.MalformedURLException if the request URL is not a HTTP or
src/main/java/org/jsoup/Connection.java:180
↓ 167 callersMethodequals
(Object o)
src/main/java/org/jsoup/parser/Tag.java:181
↓ 151 callersMethodappend
Add inner HTML to this element. The supplied HTML will be parsed, and each node appended to the end of the children. @param html HTML to add inside th
src/main/java/org/jsoup/nodes/Element.java:359
↓ 121 callersMethodget
(int index)
src/main/java/org/jsoup/select/Elements.java:537
↓ 113 callersMethodprocess
(StringReader reader)
src/main/java/us/codecraft/learning/automata/ABStateMachine.java:8
↓ 95 callersMethodbody
Accessor to the document's {@code body} element. @return {@code body}
src/main/java/org/jsoup/nodes/Document.java:59
↓ 94 callersMethodadd
(Element element)
src/main/java/org/jsoup/select/Elements.java:517
↓ 84 callersMethodtext
()
src/test/java/org/jsoup/select/ElementsTest.java:95
↓ 82 callersMethodnotNull
Validates that the object is not null @param obj object to test
src/main/java/org/jsoup/helper/Validate.java:14
↓ 82 callersMethodstripNewlines
(String text)
src/test/java/org/jsoup/TextUtil.java:8
↓ 80 callersMethodtagName
Get the name of the tag for this element. E.g. {@code div} @return the tag name
src/main/java/org/jsoup/nodes/Element.java:63
↓ 71 callersMethodemit
(Token token)
src/main/java/org/jsoup/parser/Tokeniser.java:53
↓ 68 callersMethodin
(String needle, String... haystack)
src/main/java/org/jsoup/helper/StringUtil.java:134
↓ 67 callersMethodhtml
()
src/test/java/org/jsoup/select/ElementsTest.java:108
↓ 65 callersMethodinsert
(Token.StartTag startTag)
src/main/java/org/jsoup/parser/XmlTreeBuilder.java:50
↓ 61 callersMethodname
()
src/main/java/org/jsoup/parser/Token.java:81
↓ 60 callersMethodid
Get the {@code id} attribute of this element. @return The id attribute, if present, or an empty string if not.
src/main/java/org/jsoup/nodes/Element.java:104
↓ 52 callersMethodvalueOf
Get a Tag by name. If not previously defined (unknown), returns a new generic tag, that can do anything. <p/> Pre-defined tags (P, DIV etc) will be ==
src/main/java/org/jsoup/parser/Tag.java:48
↓ 51 callersMethodcheck
(Elements result, String...expectedContent )
src/test/java/org/jsoup/select/CssTest.java:192
↓ 50 callersMethodconsume
Consume one character off queue. @return first character on queue.
src/main/java/org/jsoup/parser/TokenQueue.java:154
↓ 50 callersMethodnodeName
Get the node name of this node. Use for debugging purposes and not logic switching (for that, use instanceof). @return node name
src/main/java/org/jsoup/nodes/Node.java:56
↓ 48 callersMethodnotEmpty
Validates that the string is not empty @param string the string to test
src/main/java/org/jsoup/helper/Validate.java:90
↓ 45 callersMethodhtml
()
src/test/java/org/jsoup/nodes/AttributeTest.java:8
↓ 45 callersMethodput
Set a new attribute, or replace an existing one by key. @param key attribute key @param value attribute value
src/main/java/org/jsoup/nodes/Attributes.java:45
↓ 39 callersMethodeofError
(ITokeniserState state)
src/main/java/org/jsoup/parser/Tokeniser.java:204
↓ 38 callersMethodcurrentElement
()
src/main/java/org/jsoup/parser/TreeBuilder.java:57
↓ 38 callersMethoddata
Add a data parameter to the request @param keyval data to add. @return this Request, for chaining
src/main/java/org/jsoup/Connection.java:417
↓ 34 callersMethodsize
Get the number of attributes in this set. @return size
src/main/java/org/jsoup/nodes/Attributes.java:85
↓ 32 callersMethodadvanceTransition
(ITokeniserState state)
src/main/java/org/jsoup/parser/Tokeniser.java:93
↓ 32 callersMethodtext
Gets the combined text of this element and all its children. <p> For example, given HTML {@code <p>Hello <b>there</b> now!</p>}, {@code p.text()} retu
src/main/java/org/jsoup/nodes/Element.java:817
↓ 31 callersMethodemitDoctypePending
()
src/main/java/org/jsoup/parser/Tokeniser.java:181
↓ 30 callersMethodabsUrl
Get an absolute URL from a URL attribute that may be relative (i.e. an <code>&lt;a href></code> or <code>&lt;img src></code>). <p/> E.g.: <code>String
src/main/java/org/jsoup/nodes/Node.java:171
↓ 30 callersMethodattr
()
src/test/java/org/jsoup/select/ElementsTest.java:64
↓ 29 callersMethodanythingElse
(Token t, HtmlTreeBuilder tb)
src/main/java/org/jsoup/parser/HtmlTreeBuilderState.java:60
↓ 29 callersMethodtoString
()
src/main/java/org/jsoup/parser/Tag.java:217
↓ 28 callersMethodattr
Set an attribute value on this element. If this element already has an attribute with the key, its value is updated; otherwise, a new attribute is add
src/main/java/org/jsoup/nodes/Element.java:115
↓ 28 callersMethodconnect
Creates a new {@link Connection} to a URL. Use to fetch and parse a HTML page. <p> Use examples: <ul> <li><code>Document doc = Jsoup.connect("http://
src/main/java/org/jsoup/Jsoup.java:72
↓ 28 callersMethodconsume
()
src/main/java/org/jsoup/parser/CharacterReader.java:37
↓ 27 callersMethodasStartTag
()
src/main/java/org/jsoup/parser/Token.java:236
↓ 27 callersMethodcontains
(Object o)
src/main/java/org/jsoup/select/Elements.java:509
↓ 27 callersMethodoutputSettings
Get the document's current output settings. @return the document's current output settings.
src/main/java/org/jsoup/nodes/Document.java:355
↓ 27 callersMethodparent
Gets this node's parent node. @return parent node; or null if no parent.
src/main/java/org/jsoup/nodes/Node.java:245
↓ 27 callersMethodtitle
Get the string contents of the document's {@code title} element. @return Trimmed title, or empty string if none set.
src/main/java/org/jsoup/nodes/Document.java:67
↓ 26 callersMethodmatchChomp
Tests if the queue matches the sequence (as with match), and if they do, removes the matched string from the queue. @param seq String to search for, a
src/main/java/org/jsoup/parser/TokenQueue.java:118
↓ 26 callersMethodouterHtml
()
src/test/java/org/jsoup/select/ElementsTest.java:114
↓ 26 callersMethodparent
()
src/main/java/org/jsoup/nodes/Element.java:137
↓ 26 callersMethodtrim
(String s, int width)
src/main/java/org/jsoup/examples/ListLinks.java:50
↓ 25 callersMethodclean
Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a white-list of permitted tags and attributes. @par
src/main/java/org/jsoup/Jsoup.java:197
↓ 25 callersMethodcurrent
()
src/main/java/org/jsoup/parser/CharacterReader.java:33
↓ 24 callersMethodasEndTag
()
src/main/java/org/jsoup/parser/Token.java:244
↓ 24 callersMethodlast
Get the last matched element. @return The last matched element, or <code>null</code> if contents is empty.
src/main/java/org/jsoup/select/Elements.java:473
↓ 23 callersMethodbaseUri
Get the base URI of this node. @return base URI
src/main/java/org/jsoup/nodes/Node.java:130
↓ 23 callersMethodchildren
Get this element's child elements. <p/> This is effectively a filter on {@link #childNodes()} to get Element nodes. @return child elements. If this el
src/main/java/org/jsoup/nodes/Element.java:182
↓ 23 callersMethodgetKey
Get the attribute key. @return the attribute key
src/main/java/org/jsoup/nodes/Attribute.java:32
↓ 23 callersMethodremove
Remove (delete) this node from the DOM tree. If this node has children, they are also removed.
src/main/java/org/jsoup/nodes/Node.java:265
↓ 22 callersMethodnodeName
()
src/main/java/org/jsoup/nodes/Element.java:53
↓ 21 callersMethodappendChild
Add a node child node to this element. @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:261
↓ 21 callersMethodgetElementsByTag
Finds elements, including and recursively under this element, with the specified tag name. @param tagName The tag name to search for (case insensitive
src/main/java/org/jsoup/nodes/Element.java:547
↓ 20 callersMethodcollect
Build a list of elements, by visiting root and every descendant of root, and testing it against the evaluator. @param eval Evaluator to test elem
src/main/java/org/jsoup/select/Collector.java:22
↓ 20 callersMethodhtml
Retrieves the element's inner HTML. E.g. on a {@code <div>} with one empty {@code <p>}, would return {@code <p></p>}. (Whereas {@link #outerHtml()} wo
src/main/java/org/jsoup/nodes/Element.java:1103
↓ 20 callersMethodtext
Set the text of the {@code body} of this document. Any existing nodes within the body will be cleared. @param text unencoded text @return th
src/main/java/org/jsoup/nodes/Document.java:188
↓ 19 callersMethodattr
Get an attribute's value by its key. <p/> To get an absolute URL from an attribute that may be a relative URL, prefix the key with <code><b>abs</b></c
src/main/java/org/jsoup/nodes/Node.java:70
↓ 19 callersMethodhasNext
()
src/main/java/org/jsoup/nodes/Attributes.java:228
↓ 19 callersMethodisEndTag
()
src/main/java/org/jsoup/parser/Token.java:240
↓ 19 callersMethodisStartTag
()
src/main/java/org/jsoup/parser/Token.java:232
↓ 19 callersMethodisTrue
Validates that the value is true @param val object to test
src/main/java/org/jsoup/helper/Validate.java:33
↓ 19 callersMethodnext
()
src/main/java/org/jsoup/nodes/Attributes.java:236
↓ 18 callersMethodaddAttributes
Add a list of allowed attributes to a tag. (If an attribute is not allowed on an element, it will be removed.) <p/> E.g.: <code>addAttribute
src/main/java/org/jsoup/safety/Whitelist.java:207
↓ 18 callersMethodchildNode
Get a child node by its 0-based index. @param index index of child node @return the child node at this index. Throws a {@code IndexOutOfBoun
src/main/java/org/jsoup/nodes/Node.java:203
↓ 18 callersMethodframesetOk
(boolean framesetOk)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:120
↓ 18 callersMethodtransition
(HtmlTreeBuilderState state)
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:104
↓ 17 callersMethoddescendingIterator
Get an iterator that starts and the end of the list and works towards the start. @return an iterator that starts and the end of the list and works tow
src/main/java/org/jsoup/helper/DescendableLinkedList.java:47
↓ 17 callersMethodgetValue
Get the attribute value. @return the attribute value
src/main/java/org/jsoup/nodes/Attribute.java:49
↓ 17 callersMethodparse
Parse the body of the response as a Document. @return a parsed Document @throws IOException on error
src/main/java/org/jsoup/Connection.java:473
↓ 16 callersMethodgetElementById
Find an element by ID, including or under this element. <p> Note that this finds the first matching ID, starting with this element. If you search down
src/main/java/org/jsoup/nodes/Element.java:563
↓ 16 callersMethodheader
Get the value of a header. This is a simplified header model, where a header may only have one value. <p> Header names are case insensitive. @param na
src/main/java/org/jsoup/Connection.java:272
↓ 16 callersMethodreconstructFormattingElements
()
src/main/java/org/jsoup/parser/HtmlTreeBuilder.java:593
↓ 16 callersMethodunescape
(String string)
src/main/java/org/jsoup/nodes/Entities.java:110
↓ 15 callersMethodappendAttributeValue
(String append)
src/main/java/org/jsoup/parser/Token.java:117
↓ 15 callersMethodasComment
()
src/main/java/org/jsoup/parser/Token.java:252
↓ 15 callersMethodchildNodeSize
Get the number of child nodes that this node holds. @return the number of child nodes that this node holds.
src/main/java/org/jsoup/nodes/Node.java:233
↓ 15 callersMethodconnect
(String url)
src/main/java/org/jsoup/helper/HttpConnection.java:25
↓ 15 callersMethodconsumeToAny
(String... seq)
src/main/java/org/jsoup/parser/TokenQueue.java:223
↓ 15 callersMethodisEmpty
()
src/main/java/org/jsoup/parser/CharacterReader.java:29
↓ 15 callersMethodisEmpty
Get if this is an empty tag @return if this is an empty tag
src/main/java/org/jsoup/parser/Tag.java:117
↓ 15 callersMethodmatches
Tests if the next characters on the queue match the sequence. Case insensitive. @param seq String to check queue for. @return true if the next charact
src/main/java/org/jsoup/parser/TokenQueue.java:69
↓ 15 callersMethodmatchesLetter
()
src/main/java/org/jsoup/parser/CharacterReader.java:242
↓ 15 callersMethodmethod
Get the request method @return method
src/main/java/org/jsoup/Connection.java:254
↓ 15 callersMethodnormaliseWhitespace
(String string)
src/main/java/org/jsoup/helper/StringUtil.java:106
↓ 15 callersMethodsiblingIndex
Get the list index of this node in its node sibling list. I.e. if this is the first node sibling, returns 0. @return position in node sibling list @se
src/main/java/org/jsoup/nodes/Node.java:516
↓ 15 callersMethodurl
Get the URL @return URL
src/main/java/org/jsoup/Connection.java:241
↓ 14 callersMethodcharset
Get the character set name of the response. @return character set name
src/main/java/org/jsoup/Connection.java:460
↓ 14 callersMethodchild
Get a child element of this element, by its 0-based index number. <p/> Note that an element can have both mixed Nodes and Elements as children. This m
src/main/java/org/jsoup/nodes/Element.java:170
↓ 14 callersMethodhasAttr
Checks if any of the matched elements have this attribute set. @param attributeKey attribute key @return true if any of the elements have th
src/main/java/org/jsoup/select/Elements.java:75
next →1–100 of 1,337, ranked by callers