BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::lib::feedparser::_BaseHTMLProcessor Class Reference

Inheritance diagram for b3::lib::feedparser::_BaseHTMLProcessor:
b3::lib::feedparser::_HTMLSanitizer b3::lib::feedparser::_LooseFeedParser b3::lib::feedparser::_RelativeURIResolver

List of all members.

Public Member Functions

def __init__
def reset
def feed
def normalize_attrs
def unknown_starttag
def unknown_endtag
def handle_charref
def handle_entityref
def handle_data
def handle_comment
def handle_pi
def handle_decl
def output

Public Attributes

 encoding
 pieces

Static Public Attributes

list elements_no_end_tag

Private Member Functions

def _shorttag_replace
def _scan_name

Static Private Attributes

tuple _new_declname_match = re.compile(r'[a-zA-Z][-_.a-zA-Z0-9:]*\s*')

Constructor & Destructor Documentation

def b3::lib::feedparser::_BaseHTMLProcessor::__init__ (   self,
  encoding 
)

Member Function Documentation

def b3::lib::feedparser::_BaseHTMLProcessor::_scan_name (   self,
  i,
  declstartpos 
) [private]
def b3::lib::feedparser::_BaseHTMLProcessor::_shorttag_replace (   self,
  match 
) [private]
def b3::lib::feedparser::_BaseHTMLProcessor::feed (   self,
  data 
)
def b3::lib::feedparser::_BaseHTMLProcessor::handle_charref (   self,
  ref 
)
def b3::lib::feedparser::_BaseHTMLProcessor::handle_comment (   self,
  text 
)
def b3::lib::feedparser::_BaseHTMLProcessor::handle_data (   self,
  text 
)
def b3::lib::feedparser::_BaseHTMLProcessor::handle_decl (   self,
  text 
)
def b3::lib::feedparser::_BaseHTMLProcessor::handle_entityref (   self,
  ref 
)
def b3::lib::feedparser::_BaseHTMLProcessor::handle_pi (   self,
  text 
)
def b3::lib::feedparser::_BaseHTMLProcessor::normalize_attrs (   self,
  attrs 
)
def b3::lib::feedparser::_BaseHTMLProcessor::output (   self)
Return processed HTML as a single string
def b3::lib::feedparser::_BaseHTMLProcessor::reset (   self)
def b3::lib::feedparser::_BaseHTMLProcessor::unknown_endtag (   self,
  tag 
)
def b3::lib::feedparser::_BaseHTMLProcessor::unknown_starttag (   self,
  tag,
  attrs 
)

Member Data Documentation

tuple b3::lib::feedparser::_BaseHTMLProcessor::_new_declname_match = re.compile(r'[a-zA-Z][-_.a-zA-Z0-9:]*\s*') [static, private]
Initial value:
['area', 'base', 'basefont', 'br', 'col', 'frame', 'hr',
      'img', 'input', 'isindex', 'link', 'meta', 'param']

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties