Package Martel :: Package test :: Module test_macros :: Class Capture
[hide private]
[frames] | no frames]

Class Capture

source code

xml.sax.handler.ContentHandler --+
                                 |
                                Capture

Instance Methods [hide private]
 
startDocument(self)
Receive notification of the beginning of a document.
source code
 
startElement(self, name, attrs)
Signals the start of an element in non-namespace mode.
source code
 
endElement(self, name)
Signals the end of an element in non-namespace mode.
source code

Inherited from xml.sax.handler.ContentHandler: __init__, characters, endDocument, endElementNS, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElementNS, startPrefixMapping

Method Details [hide private]

startDocument(self)

source code 

Receive notification of the beginning of a document.

The SAX parser will invoke this method only once, before any other methods in this interface or in DTDHandler (except for setDocumentLocator).

Overrides: xml.sax.handler.ContentHandler.startDocument
(inherited documentation)

startElement(self, name, attrs)

source code 

Signals the start of an element in non-namespace mode.

The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.

Overrides: xml.sax.handler.ContentHandler.startElement
(inherited documentation)

endElement(self, name)

source code 

Signals the end of an element in non-namespace mode.

The name parameter contains the name of the element type, just as with the startElement event.

Overrides: xml.sax.handler.ContentHandler.endElement
(inherited documentation)