webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
webkitpy.thirdparty.BeautifulSoup.PageElement Class Reference
Inheritance diagram for webkitpy.thirdparty.BeautifulSoup.PageElement:
webkitpy.thirdparty.BeautifulSoup.NavigableString webkitpy.thirdparty.BeautifulSoup.Tag webkitpy.thirdparty.BeautifulSoup.CData webkitpy.thirdparty.BeautifulSoup.Comment webkitpy.thirdparty.BeautifulSoup.Declaration webkitpy.thirdparty.BeautifulSoup.ProcessingInstruction webkitpy.thirdparty.BeautifulSoup.BeautifulStoneSoup webkitpy.thirdparty.BeautifulSoup.BeautifulSOAP webkitpy.thirdparty.BeautifulSoup.BeautifulSoup webkitpy.thirdparty.BeautifulSoup.RobustXMLParser webkitpy.thirdparty.BeautifulSoup.SimplifyingSOAPParser webkitpy.thirdparty.BeautifulSoup.ICantBelieveItsBeautifulSoup webkitpy.thirdparty.BeautifulSoup.MinimalSoup webkitpy.thirdparty.BeautifulSoup.RobustHTMLParser webkitpy.thirdparty.BeautifulSoup.RobustWackAssHTMLParser webkitpy.thirdparty.BeautifulSoup.RobustInsanelyWackAssHTMLParser

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
 

Detailed Description

Contains the navigational information for some part of the page
(either a tag or a piece of text)

Member Function Documentation

◆ append()

def webkitpy.thirdparty.BeautifulSoup.PageElement.append (   self,
  tag 
)
Appends the given tag to the contents of this tag.

◆ extract()

def webkitpy.thirdparty.BeautifulSoup.PageElement.extract (   self)
Destructively rips this element out of the tree.

◆ findAllNext()

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.

◆ findAllPrevious()

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.

◆ findNext()

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.

◆ findNextSibling()

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.

◆ findNextSiblings()

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.

◆ findParent()

def webkitpy.thirdparty.BeautifulSoup.PageElement.findParent (   self,
  name = None,
  attrs = {},
  kwargs 
)
Returns the closest parent of this Tag that matches the given
criteria.

◆ findParents()

def webkitpy.thirdparty.BeautifulSoup.PageElement.findParents (   self,
  name = None,
  attrs = {},
  limit = None,
  kwargs 
)
Returns the parents of this Tag that match the given
criteria.

◆ findPrevious()

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.

◆ findPreviousSibling()

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.

◆ findPreviousSiblings()

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.

◆ insert()

def webkitpy.thirdparty.BeautifulSoup.PageElement.insert (   self,
  position,
  newChild 
)

◆ nextGenerator()

def webkitpy.thirdparty.BeautifulSoup.PageElement.nextGenerator (   self)

◆ nextSiblingGenerator()

def webkitpy.thirdparty.BeautifulSoup.PageElement.nextSiblingGenerator (   self)

◆ parentGenerator()

def webkitpy.thirdparty.BeautifulSoup.PageElement.parentGenerator (   self)

◆ previousGenerator()

def webkitpy.thirdparty.BeautifulSoup.PageElement.previousGenerator (   self)

◆ previousSiblingGenerator()

def webkitpy.thirdparty.BeautifulSoup.PageElement.previousSiblingGenerator (   self)

◆ replaceWith()

def webkitpy.thirdparty.BeautifulSoup.PageElement.replaceWith (   self,
  replaceWith 
)

◆ replaceWithChildren()

def webkitpy.thirdparty.BeautifulSoup.PageElement.replaceWithChildren (   self)

◆ setup()

def webkitpy.thirdparty.BeautifulSoup.PageElement.setup (   self,
  parent = None,
  previous = None 
)
Sets up the initial relations between this element and
other elements.

◆ substituteEncoding()

def webkitpy.thirdparty.BeautifulSoup.PageElement.substituteEncoding (   self,
  str,
  encoding = None 
)

◆ toEncoding()

def webkitpy.thirdparty.BeautifulSoup.PageElement.toEncoding (   self,
  s,
  encoding = None 
)
Encodes an object to a string in some encoding, or to Unicode.
.

Member Data Documentation

◆ fetchNextSiblings

def webkitpy.thirdparty.BeautifulSoup.PageElement.fetchNextSiblings = findNextSiblings
static

◆ fetchParents

def webkitpy.thirdparty.BeautifulSoup.PageElement.fetchParents = findParents
static

◆ fetchPrevious

def webkitpy.thirdparty.BeautifulSoup.PageElement.fetchPrevious = findAllPrevious
static

◆ fetchPreviousSiblings

def webkitpy.thirdparty.BeautifulSoup.PageElement.fetchPreviousSiblings = findPreviousSiblings
static

◆ next

webkitpy.thirdparty.BeautifulSoup.PageElement.next

◆ nextSibling

webkitpy.thirdparty.BeautifulSoup.PageElement.nextSibling

◆ parent

webkitpy.thirdparty.BeautifulSoup.PageElement.parent

◆ previous

webkitpy.thirdparty.BeautifulSoup.PageElement.previous

◆ previousSibling

webkitpy.thirdparty.BeautifulSoup.PageElement.previousSibling

The documentation for this class was generated from the following file: