Home | Trees | Indices | Help |
|
---|
|
object --+ | _BaseParser --+ | _FeedParser
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
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, call the ``close()`` method. It is not possible to use the parser in any other way after calling the ``feed()`` method. The parser can only be reset by calling ``close()``. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sun Sep 16 00:12:46 2007 | http://epydoc.sourceforge.net |