Package bridge :: Package parser :: Module bridge_default :: Class XMLGeneratorFixed
[hide private]
[frames] | no frames]

Class XMLGeneratorFixed

source code

xml.sax.handler.ContentHandler --+    
                                 |    
     xml.sax.saxutils.XMLGenerator --+
                                     |
                                    XMLGeneratorFixed

Instance Methods [hide private]
  startElementNS(self, name, qname, attrs, visited_ns=None, _set_empty_ns=False)
Signals the start of an element in namespace mode.
  endElementNS(self, name, qname)
Signals the end of an element in namespace mode.
  comment(self, content)

Inherited from xml.sax.saxutils.XMLGenerator: __init__, characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, startDocument, startElement, startPrefixMapping

Inherited from xml.sax.saxutils.XMLGenerator (private): _write

Inherited from xml.sax.handler.ContentHandler: endDocument, setDocumentLocator, skippedEntity


Method Details [hide private]

startElementNS(self, name, qname, attrs, visited_ns=None, _set_empty_ns=False)

source code 

Signals the start of an element in namespace mode.

The name parameter contains the name of the element type as a (uri, localname) tuple, the qname parameter the raw XML 1.0 name used in the source document, and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.

The uri part of the name tuple is None for elements which have no namespace.
Overrides: xml.sax.saxutils.XMLGenerator.startElementNS

endElementNS(self, name, qname)

source code 

Signals the end of an element in namespace mode.

The name parameter contains the name of the element type, just as with the startElementNS event.
Overrides: xml.sax.saxutils.XMLGenerator.endElementNS

comment(self, content)

source code 
None