Package pyxmpp :: Module xmlextra :: Class _SAXCallback

[hide private]

# Class _SAXCallback

source code

    libxml2.SAXCallback --+
                          |
                         _SAXCallback

SAX events handler for the python-only stream parser.

Instance Methods | [hide private]

__init__(self, handler) Initialize the SAX handler. | source code

cdataBlock(self, data) | source code

characters(self, data) | source code

comment(self, content) | source code

endDocument(self) | source code

endElement(self, tag) | source code

error(self, msg) | source code

fatalError(self, msg) | source code

ignorableWhitespace(self, data) | source code

reference(self, name) | source code

startDocument(self) | source code

startElement(self, tag, attrs) | source code

warning(self) | source code

Method Details | [hide private]

### __init__(self, handler)
(Constructor)

source code

Initialize the SAX handler.

Parameters:
  - `handler` (: StreamHandler) - : Object to handle stream start, end and stanzas.