Svg.SvgHandler

Module Svg :: Class SvgHandler |
[show private | hide private]
[frames | no frames]

## Class SvgHandler

    ContentHandler --+
                     |
                    SvgHandler

Method Summary
| `__init__(self, drawBoard, cache)`
| `context(self)`
| `createLinearGradient(self, attrs, keys)`
| `createRadialGradient(self, attrs, keys)`
| `endDefs(self)`
| ``endElement`(self, name)` Signals the end of an element in non-namespace mode.
| `endG(self)`
| `endLineargradient(self)`
| `endMarker(self)`
| `endRadialgradient(self)`
| `parseKeys(self, stops)`
| `startDefs(self, attrs)`
| ``startElement`(self, name, attrs)` Signals the start of an element in non-namespace mode.
| `startG(self, attrs)`
| `startLineargradient(self, attrs)`
| `startMarker(self, attrs)`
| `startPath(self, attrs)`
| `startRadialgradient(self, attrs)`
| `startStop(self, attrs)`
| `style(self)`
| `transform(self)`
Inherited from ContentHandler
| ``characters`(self, content)` Receive notification of character data.
| ``endDocument`(self)` Receive notification of the end of a document.
| ``endElementNS`(self, name, qname)` Signals the end of an element in namespace mode.
| ``endPrefixMapping`(self, prefix)` End the scope of a prefix-URI mapping.
| ``ignorableWhitespace`(self, whitespace)` Receive notification of ignorable whitespace in element content.
| ``processingInstruction`(self, target, data)` Receive notification of a processing instruction.
| ``setDocumentLocator`(self, locator)` Called by the parser to give the application a locator for locating the origin of document events.
| ``skippedEntity`(self, name)` Receive notification of a skipped entity.
| ``startDocument`(self)` Receive notification of the beginning of a document.
| ``startElementNS`(self, name, qname, attrs)` Signals the start of an element in namespace mode.
| ``startPrefixMapping`(self, prefix, uri)` Begin the scope of a prefix-URI Namespace mapping.

Method Details

### endElement(self, name) 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)

### startElement(self, name, attrs) 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)

Generated by Epydoc 2.1 on Thu Nov 23 23:40:43 2006 | http://epydoc.sf.net