Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
bs4.builder._html5lib.TreeBuilderForHtml5lib Class Reference
Inheritance diagram for bs4.builder._html5lib.TreeBuilderForHtml5lib:
Inheritance graph
[legend]
Collaboration diagram for bs4.builder._html5lib.TreeBuilderForHtml5lib:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, bool namespaceHTMLElements, Optional["BeautifulSoup"] soup=None, bool store_line_numbers=True, **Any kwargs)
 
"Element" documentClass (self)
 
None insertDoctype (self, Dict[str, Any] token)
 
"Element" elementClass (self, str name, str namespace)
 
"TextNode" commentClass (self, str data)
 
"Element" fragmentClass (self)
 
"Element" getFragment (self)
 
None appendChild (self, "Element" node)
 
"BeautifulSoup" getDocument (self)
 
None testSerializer (self, "Element" node)
 

Public Attributes

 soup
 
 parser
 
 store_line_numbers
 

Static Public Attributes

str soup : "BeautifulSoup"
 
Optional parser [html5lib.HTMLParser]
 

Member Function Documentation

◆ fragmentClass()

"Element" bs4.builder._html5lib.TreeBuilderForHtml5lib.fragmentClass (   self)
This is only used by html5lib HTMLParser.parseFragment(),
which is never used by Beautiful Soup, only by the html5lib
unit tests. Since we don't currently hook into those tests,
the implementation is left blank.

◆ getFragment()

"Element" bs4.builder._html5lib.TreeBuilderForHtml5lib.getFragment (   self)
This is only used by the html5lib unit tests. Since we
don't currently hook into those tests, the implementation is
left blank.

◆ testSerializer()

None bs4.builder._html5lib.TreeBuilderForHtml5lib.testSerializer (   self,
"Element"  node 
)
This is only used by the html5lib unit tests. Since we
don't currently hook into those tests, the implementation is
left blank.

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