Package empro :: Package toolkit :: Package analysis :: Class NameIdContentHandler
[frames] | no frames]

Class NameIdContentHandler

source code

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

Instance Methods
 
__init__(self) source code
 
endElement(self, name)
Signals the end of an element in non-namespace mode.
source code
 
characters(self, content)
Receive notification of character data.
source code

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

Method Details

__init__(self)
(Constructor)

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

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)

characters(self, content)

source code 

Receive notification of character data.

The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity so that the Locator provides useful information.

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