Package Martel :: Package test :: Module test_Parser :: Class CountRecords
[hide private]
[frames] | no frames]

Class CountRecords

source code

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

Instance Methods [hide private]
 
__init__(self, tag) source code
 
startElement(self, tag, attrs)
Signals the start of an element in non-namespace mode.
source code

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

Method Details [hide private]

__init__(self, tag)
(Constructor)

source code 
Overrides: xml.sax.handler.ContentHandler.__init__

startElement(self, tag, 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)