Package rosdeb :: Module BeautifulSoup :: Class ProcessingInstruction
[frames] | no frames]

Class ProcessingInstruction

source code

object --+            
         |            
basestring --+        
             |        
       unicode --+    
                 |    
   PageElement --+    
                 |    
   NavigableString --+
                     |
                    ProcessingInstruction

Instance Methods
 
decodeGivenEventualEncoding(self, eventualEncoding) source code
 
__getattr__(self, attr)
text.string gives you text. (Inherited from rosdeb.BeautifulSoup.NavigableString)
source code
 
__getnewargs__(self) (Inherited from rosdeb.BeautifulSoup.NavigableString) source code
 
append(self, tag)
Appends the given tag to the contents of this tag. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
string or unicode
encode(self, encoding='utf-8')
Encodes S using the codec registered for encoding. (Inherited from rosdeb.BeautifulSoup.NavigableString)
source code
 
extract(self)
Destructively rips this element out of the tree. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
fetchNextSiblings(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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
fetchParents(self, name=None, attrs={}, limit=None, **kwargs)
Returns the parents of this Tag that match the given criteria. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
fetchPrevious(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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
fetchPreviousSiblings(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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
findParent(self, name=None, attrs={}, **kwargs)
Returns the closest parent of this Tag that matches the given criteria. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
findParents(self, name=None, attrs={}, limit=None, **kwargs)
Returns the parents of this Tag that match the given criteria. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
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. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
insert(self, position, newChild) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
nextGenerator(self) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
nextSiblingGenerator(self) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
parentGenerator(self) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
previousGenerator(self) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
previousSiblingGenerator(self) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
replaceWith(self, replaceWith) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
setup(self, parent=None, previous=None)
Sets up the initial relations between this element and other elements. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code
 
substituteEncoding(self, str, encoding=None) (Inherited from rosdeb.BeautifulSoup.PageElement) source code
 
toEncoding(self, s, encoding=None)
Encodes an object to a string in some encoding, or to Unicode. (Inherited from rosdeb.BeautifulSoup.PageElement)
source code

Inherited from unicode: __add__, __contains__, __eq__, __format__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __repr__, __rmod__, __rmul__, __sizeof__, __str__, capitalize, center, count, decode, endswith, expandtabs, find, format, index, isalnum, isalpha, isdecimal, isdigit, islower, isnumeric, isspace, istitle, isupper, join, ljust, lower, lstrip, partition, replace, rfind, rindex, rjust, rpartition, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Static Methods
a new object with type S, a subtype of T
__new__(cls, value)
Create a new NavigableString. (Inherited from rosdeb.BeautifulSoup.NavigableString)
source code
Properties

Inherited from object: __class__

Method Details

decodeGivenEventualEncoding(self, eventualEncoding)

source code 
Overrides: NavigableString.decodeGivenEventualEncoding