This method is called when the entire XML document has been passed to the parser through the feed method, to notify the parser that there are no more data. This allows the parser to do the final checks on the document and empty the internal data buffer. The p
(self)
| 139 | raise NotImplementedError("prepareParser must be overridden!") |
| 140 | |
| 141 | def close(self): |
| 142 | """This method is called when the entire XML document has been |
| 143 | passed to the parser through the feed method, to notify the |
| 144 | parser that there are no more data. This allows the parser to |
| 145 | do the final checks on the document and empty the internal |
| 146 | data buffer. |
| 147 | |
| 148 | The parser will not be ready to parse another document until |
| 149 | the reset method has been called. |
| 150 | |
| 151 | close may raise SAXException.""" |
| 152 | raise NotImplementedError("This method must be implemented!") |
| 153 | |
| 154 | def reset(self): |
| 155 | """This method is called after close has been called to reset |