|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __new__ (cls, value) |
| def | __getnewargs__ (self) |
| def | __getattr__ (self, attr) |
| def | __unicode__ (self) |
| def | __str__ (self, encoding=DEFAULT_OUTPUT_ENCODING) |
Public Member Functions inherited from webkitpy.thirdparty.BeautifulSoup.PageElement | |
| 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) |
Additional Inherited Members | |
Public Attributes inherited from webkitpy.thirdparty.BeautifulSoup.PageElement | |
| parent | |
| previous | |
| next | |
| previousSibling | |
| nextSibling | |
Static Public Attributes inherited from webkitpy.thirdparty.BeautifulSoup.PageElement | |
| def | fetchNextSiblings = findNextSiblings |
| def | fetchPrevious = findAllPrevious |
| def | fetchPreviousSiblings = findPreviousSiblings |
| def | fetchParents = findParents |
| def webkitpy.thirdparty.BeautifulSoup.NavigableString.__getattr__ | ( | self, | |
| attr | |||
| ) |
text.string gives you text. This is for backwards compatibility for Navigable*String, but for CData* it lets you get the string without the CData wrapper.
| def webkitpy.thirdparty.BeautifulSoup.NavigableString.__getnewargs__ | ( | self | ) |
| def webkitpy.thirdparty.BeautifulSoup.NavigableString.__new__ | ( | cls, | |
| value | |||
| ) |
Create a new NavigableString. When unpickling a NavigableString, this method is called with the string in DEFAULT_OUTPUT_ENCODING. That encoding needs to be passed in to the superclass's __new__ or the superclass won't know how to handle non-ASCII characters.
| def webkitpy.thirdparty.BeautifulSoup.NavigableString.__str__ | ( | self, | |
encoding = DEFAULT_OUTPUT_ENCODING |
|||
| ) |
| def webkitpy.thirdparty.BeautifulSoup.NavigableString.__unicode__ | ( | self | ) |
1.8.13