| Home | Trees | Index | Help |
|
|---|
| Module eagle :: Class _Parser |
|
ParserBase--+ |SGMLParser--+ |HTMLParser--+ | _Parser
| Method Summary | |
|---|---|
This method is called at the start of an anchor region. | |
This method is called at the end of an anchor region. | |
end_font(self)
| |
handle_image(self,
source,
alt,
ismap,
align,
width,
height)
| |
start_font(self,
attrs)
| |
| Inherited from HTMLParser | |
Creates an instance of the HTMLParser class. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Reset this instance. | |
Begins saving character data in a buffer instead of sending it to the formatter object. | |
Ends buffering character data and returns all data saved since the preceding call to the save_bgn() method. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from SGMLParser | |
Handle the remaining data. | |
Feed some data to the parser. | |
| |
| |
| |
| |
| |
Handle character reference, no need to override. | |
| |
| |
| |
Handle entity references. | |
| |
| |
| |
| |
| |
| |
Enter literal mode (CDATA). | |
Enter literal mode (CDATA) till EOF. | |
| |
| |
| Inherited from ParserBase | |
Return current line number and offset. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Class Variable Summary | |
|---|---|
| Inherited from HTMLParser | |
dict |
entitydefs = {'zwnj': '‌', 'aring': '\xe5', 'gt': ...
|
| Inherited from SGMLParser | |
str |
_decl_otherchars = '='
|
| Method Details |
|---|
anchor_bgn(self, href, name, type)This method is called at the start of an anchor region. The arguments correspond to the attributes of the <A> tag with the same names. The default implementation maintains a list of hyperlinks (defined by the HREF attribute for <A> tags) within the document. The list of hyperlinks is available as the data attribute anchorlist.
|
anchor_end(self)This method is called at the end of an anchor region. The default implementation adds a textual footnote marker using an index into the list of hyperlinks created by the anchor_bgn()method.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Apr 22 21:30:27 2007 | http://epydoc.sf.net |