CMS 3D CMS Logo

List of all members | Public Member Functions
BeautifulSoup.Declaration Class Reference
Inheritance diagram for BeautifulSoup.Declaration:
BeautifulSoup.NavigableString BeautifulSoup.PageElement

Public Member Functions

def __str__ (self, encoding=DEFAULT_OUTPUT_ENCODING)
 
- Public Member Functions inherited from BeautifulSoup.NavigableString
def __getattr__ (self, attr)
 
def __getnewargs__ (self)
 
def __new__ (cls, value)
 
def __str__ (self, encoding=DEFAULT_OUTPUT_ENCODING)
 
def __unicode__ (self)
 
- Public Member Functions inherited from BeautifulSoup.PageElement
def append (self, tag)
 
def extract (self)
 
def findAllNext (self, name=None, attrs={}, text=None, limit=None, kwargs)
 
def findAllPrevious (self, name=None, attrs={}, text=None, limit=None, kwargs)
 
def findNext (self, name=None, attrs={}, text=None, kwargs)
 
def findNextSibling (self, name=None, attrs={}, text=None, kwargs)
 
def findNextSiblings (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 findPrevious (self, name=None, attrs={}, text=None, kwargs)
 
def findPreviousSibling (self, name=None, attrs={}, text=None, kwargs)
 
def findPreviousSiblings (self, name=None, attrs={}, text=None, limit=None, kwargs)
 
def insert (self, position, newChild)
 
def nextGenerator (self)
 
def nextSiblingGenerator (self)
 
def parentGenerator (self)
 
def previousGenerator (self)
 
def previousSiblingGenerator (self)
 
def replaceWith (self, replaceWith)
 
def replaceWithChildren (self)
 
def setup (self, parent=None, previous=None)
 
def substituteEncoding (self, str, encoding=None)
 
def toEncoding (self, s, encoding=None)
 

Additional Inherited Members

- Public Attributes inherited from BeautifulSoup.PageElement
 next
 
 nextSibling
 
 parent
 
 previous
 
 previousSibling
 
- Static Public Attributes inherited from BeautifulSoup.PageElement
 BARE_AMPERSAND_OR_BRACKET
 
 fetchNextSiblings
 
 fetchParents
 
 fetchPrevious
 
 fetchPreviousSiblings
 
 XML_ENTITIES_TO_SPECIAL_CHARS
 
 XML_SPECIAL_CHARS_TO_ENTITIES
 

Detailed Description

Definition at line 502 of file BeautifulSoup.py.

Member Function Documentation

◆ __str__()

def BeautifulSoup.Declaration.__str__ (   self,
  encoding = DEFAULT_OUTPUT_ENCODING 
)

Definition at line 503 of file BeautifulSoup.py.

Referenced by edmStreamStallGrapher.Point.__repr__(), BeautifulSoup.Tag.__repr__(), BeautifulSoup.Tag.__unicode__(), and BeautifulSoup.Tag.prettify().

503  def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING):
504  return "<!%s>" % NavigableString.__str__(self, encoding)
505