| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package utilities :: Module svgutils :: Class SVGContentHandler |
|
ContentHandler--+ |DTDHandler--+ |EntityResolver--+ |ErrorHandler--+ |DefaultHandler--+ |GenericXMLContentHandler--+ | SVGContentHandler
StructureSVGContentHandler,
TerrainSVGContentHandler| Method Summary | |
|---|---|
__init__(self,
target)
| |
Creates simulation object from data. | |
Signals the end of an element in non-namespace mode. | |
Parses PATH tag. | |
Parses RECT tag. | |
Signals the start of an element in non-namespace mode. | |
| Inherited from GenericXMLContentHandler | |
Receive notification of character data. | |
Handle a recoverable error. | |
| Instance Variable Summary | |
|---|---|
| Inherited from GenericXMLContentHandler | |
| string | currentNode: name of current node in parsing process |
| string | target: target to pass parsed data to |
| Method Details |
|---|
createSimComponent(self, vertices, svs_data)Creates simulation object from data. This should be overidden by implementing classes. |
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.
|
handlePathTag(self, attrs)ParsesPATH tag.
|
handleRectTag(self, attrs)ParsesRECT tag.
|
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.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:25 2005 | http://epydoc.sf.net |