|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | setup (self, parent=None, previous=None) |
| def | replaceWith (self, replaceWith) |
| def | replaceWithChildren (self) |
| def | extract (self) |
| def | insert (self, position, newChild) |
| def | append (self, tag) |
| def | findNext (self, name=None, attrs={}, text=None, kwargs) |
| def | findAllNext (self, name=None, attrs={}, text=None, limit=None, kwargs) |
| def | findNextSibling (self, name=None, attrs={}, text=None, kwargs) |
| def | findNextSiblings (self, name=None, attrs={}, text=None, limit=None, kwargs) |
| def | findPrevious (self, name=None, attrs={}, text=None, kwargs) |
| def | findAllPrevious (self, name=None, attrs={}, text=None, limit=None, kwargs) |
| def | findPreviousSibling (self, name=None, attrs={}, text=None, kwargs) |
| def | findPreviousSiblings (self, name=None, attrs={}, text=None, limit=None, kwargs) |
| def | findParent (self, name=None, attrs={}, kwargs) |
| def | findParents (self, name=None, attrs={}, limit=None, kwargs) |
| def | nextGenerator (self) |
| def | nextSiblingGenerator (self) |
| def | previousGenerator (self) |
| def | previousSiblingGenerator (self) |
| def | parentGenerator (self) |
| def | substituteEncoding (self, str, encoding=None) |
| def | toEncoding (self, s, encoding=None) |
Public Attributes | |
| parent | |
| previous | |
| next | |
| previousSibling | |
| nextSibling | |
Static Public Attributes | |
| def | fetchNextSiblings = findNextSiblings |
| def | fetchPrevious = findAllPrevious |
| def | fetchPreviousSiblings = findPreviousSiblings |
| def | fetchParents = findParents |
Contains the navigational information for some part of the page (either a tag or a piece of text)
| def webkitpy.thirdparty.BeautifulSoup.PageElement.append | ( | self, | |
| tag | |||
| ) |
Appends the given tag to the contents of this tag.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.extract | ( | self | ) |
Destructively rips this element out of the tree.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findAllNext | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
limit = None, |
|||
| kwargs | |||
| ) |
Returns all items that match the given criteria and appear after this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findAllPrevious | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
limit = None, |
|||
| kwargs | |||
| ) |
Returns all items that match the given criteria and appear before this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findNext | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
| kwargs | |||
| ) |
Returns the first item that matches the given criteria and appears after this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findNextSibling | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
| kwargs | |||
| ) |
Returns the closest sibling to this Tag that matches the given criteria and appears after this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findNextSiblings | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
limit = None, |
|||
| kwargs | |||
| ) |
Returns the siblings of this Tag that match the given criteria and appear after this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findParent | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
| kwargs | |||
| ) |
Returns the closest parent of this Tag that matches the given criteria.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findParents | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
limit = None, |
|||
| kwargs | |||
| ) |
Returns the parents of this Tag that match the given criteria.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findPrevious | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
| kwargs | |||
| ) |
Returns the first item that matches the given criteria and appears before this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findPreviousSibling | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
| kwargs | |||
| ) |
Returns the closest sibling to this Tag that matches the given criteria and appears before this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.findPreviousSiblings | ( | self, | |
name = None, |
|||
attrs = {}, |
|||
text = None, |
|||
limit = None, |
|||
| kwargs | |||
| ) |
Returns the siblings of this Tag that match the given criteria and appear before this Tag in the document.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.insert | ( | self, | |
| position, | |||
| newChild | |||
| ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.nextGenerator | ( | self | ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.nextSiblingGenerator | ( | self | ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.parentGenerator | ( | self | ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.previousGenerator | ( | self | ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.previousSiblingGenerator | ( | self | ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.replaceWith | ( | self, | |
| replaceWith | |||
| ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.replaceWithChildren | ( | self | ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.setup | ( | self, | |
parent = None, |
|||
previous = None |
|||
| ) |
Sets up the initial relations between this element and other elements.
| def webkitpy.thirdparty.BeautifulSoup.PageElement.substituteEncoding | ( | self, | |
| str, | |||
encoding = None |
|||
| ) |
| def webkitpy.thirdparty.BeautifulSoup.PageElement.toEncoding | ( | self, | |
| s, | |||
encoding = None |
|||
| ) |
Encodes an object to a string in some encoding, or to Unicode. .
|
static |
|
static |
|
static |
|
static |
| webkitpy.thirdparty.BeautifulSoup.PageElement.next |
| webkitpy.thirdparty.BeautifulSoup.PageElement.nextSibling |
| webkitpy.thirdparty.BeautifulSoup.PageElement.parent |
| webkitpy.thirdparty.BeautifulSoup.PageElement.previous |
| webkitpy.thirdparty.BeautifulSoup.PageElement.previousSibling |
1.8.13