Home | Trees | Indices | Help |
|
---|
|
object --+ | ??._BaseParser --+ | _FeedParser
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
Inherited from Inherited from |
|
|||
feed_error_log The error log of the last (or current) run of the feed parser. |
|||
Inherited from Inherited from |
|
|
Terminates feeding data to this parser. This tells the parser to process any remaining data in the feed buffer, and then returns the root Element of the tree that was parsed. This method must be called after passing the last chunk of data into the feed() method. It should only be called when using the feed parser interface, all other usage is undefined. |
Feeds data to the parser. The argument should be an 8-bit string buffer containing encoded data, although Unicode is supported as long as both string types are not mixed. This is the main entry point to the consumer interface of a parser. The parser will parse as much of the XML stream as it can on each call. To finish parsing or to reset the parser, call the close() method. Both methods may raise ParseError if errors occur in the input data. If an error is raised, there is no longer a need to call close(). The feed parser interface is independent of the normal parser usage. You can use the same parser as a feed parser and in the parse() function concurrently. |
|
feed_error_logThe error log of the last (or current) run of the feed parser. Note that this is local to the feed parser and thus is different from what the error_log property returns. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 26 13:39:43 2019 | http://epydoc.sourceforge.net |