| Home | Trees | Indices | Help |
|---|
|
|
markupbase.ParserBase --+
|
HTMLParser.HTMLParser --+
|
YadisHTMLParser
Parser that finds a meta http-equiv tag in the head of a html document.
When feeding in data, if the tag is matched or it will never be found, the parser will raise ParseDone with the uri as the first attribute.
Any unlisted input does not affect the state:
1, 2, 5 8
+--------------------------+ +-+
| | | |
4 | 3 1, 2, 5, 7 v | v
TOP -> HTML -> HEAD ----------> TERMINATED
| | ^ | ^ ^
| | 3 | | | |
| +------------+ +-> FOUND ------+ |
| 6 8 |
| 1, 2 |
+------------------------------------+
1. any of </body>, </html>, </head> -> TERMINATE
2. <body> -> TERMINATE
3. <head> -> HEAD
4. <html> -> HTML
5. <html> -> TERMINATE
6. <meta http-equiv='X-XRDS-Location'> -> FOUND
7. <head> -> TERMINATE
8. Any input -> TERMINATE
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
Initialize and reset this instance.
|
|
|
Feed data to the parser. Call this as often as you want, with as little or as much text as you want (may include '\n').
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Dec 17 16:12:40 2011 | http://epydoc.sourceforge.net |