Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
BeautifulSoup.PageElement Class Reference
Inheritance diagram for BeautifulSoup.PageElement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def extract
def findAllNext
def findAllPrevious
def findNext
def findNextSibling
def findNextSiblings
def findParent
def findParents
def findPrevious
def findPreviousSibling
def findPreviousSiblings
def insert
def nextGenerator
def nextSiblingGenerator
def parentGenerator
def previousGenerator
def previousSiblingGenerator
def replaceWith
def setup
def substituteEncoding
def toEncoding

Public Attributes

 next
 nextSibling
 parent
 previous
 previousSibling

Static Public Attributes

 fetchNextSiblings = findNextSiblings
 fetchParents = findParents
 fetchPrevious = findAllPrevious
 fetchPreviousSiblings = findPreviousSiblings

Private Member Functions

def _findAll
def _findOne
def _lastRecursiveChild

Detailed Description

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

Definition at line 68 of file BeautifulSoup.py.


Member Function Documentation

def BeautifulSoup.PageElement._findAll (   self,
  name,
  attrs,
  text,
  limit,
  generator,
  kwargs 
) [private]

Definition at line 273 of file BeautifulSoup.py.

def BeautifulSoup.PageElement._findOne (   self,
  method,
  name,
  attrs,
  text,
  kwargs 
) [private]

Definition at line 266 of file BeautifulSoup.py.

Definition at line 126 of file BeautifulSoup.py.

Destructively rips this element out of the tree.

Definition at line 98 of file BeautifulSoup.py.

def BeautifulSoup.PageElement.findAllNext (   self,
  name = None,
  attrs = {},
  text = None,
  limit = None,
  kwargs 
)
Returns all items that match the given criteria and appear
before after Tag in the document.

Definition at line 198 of file BeautifulSoup.py.

def 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.

Definition at line 223 of file BeautifulSoup.py.

def 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.

Definition at line 193 of file BeautifulSoup.py.

def 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.

Definition at line 204 of file BeautifulSoup.py.

def 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.

Definition at line 210 of file BeautifulSoup.py.

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

Definition at line 245 of file BeautifulSoup.py.

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

Definition at line 256 of file BeautifulSoup.py.

def 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.

Definition at line 218 of file BeautifulSoup.py.

def 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.

Definition at line 231 of file BeautifulSoup.py.

def 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.

Definition at line 237 of file BeautifulSoup.py.

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

Definition at line 133 of file BeautifulSoup.py.

Definition at line 298 of file BeautifulSoup.py.

Definition at line 304 of file BeautifulSoup.py.

Definition at line 322 of file BeautifulSoup.py.

Definition at line 310 of file BeautifulSoup.py.

Definition at line 316 of file BeautifulSoup.py.

def BeautifulSoup.PageElement.replaceWith (   self,
  replaceWith 
)

Definition at line 84 of file BeautifulSoup.py.

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

Definition at line 72 of file BeautifulSoup.py.

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

Definition at line 329 of file BeautifulSoup.py.

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

Definition at line 333 of file BeautifulSoup.py.


Member Data Documentation

Definition at line 216 of file BeautifulSoup.py.

Definition at line 262 of file BeautifulSoup.py.

Definition at line 229 of file BeautifulSoup.py.

Definition at line 243 of file BeautifulSoup.py.

Definition at line 73 of file BeautifulSoup.py.

Definition at line 73 of file BeautifulSoup.py.

Definition at line 73 of file BeautifulSoup.py.

Reimplemented in BeautifulSoup.BeautifulStoneSoup.

Definition at line 73 of file BeautifulSoup.py.

Definition at line 73 of file BeautifulSoup.py.


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


websocket_gui
Author(s): Benoit Lescot and Stéphane Magnenat
autogenerated on Mon Oct 6 2014 08:54:48