Package svs_simulation :: Package terrain :: Module svgloaders :: Class StructureSVGContentHandler
[show private | hide private]
[frames | no frames]

Class StructureSVGContentHandler

  ContentHandler --+            
                   |            
      DTDHandler --+            
                   |            
  EntityResolver --+            
                   |            
    ErrorHandler --+            
                   |            
      DefaultHandler --+        
                       |        
GenericXMLContentHandler --+    
                           |    
           SVGContentHandler --+
                               |
                              StructureSVGContentHandler


Handler for parsing structure SVG document.
Method Summary
  __init__(self, target)
  createSimComponent(self, vertices, svs_data)
Creates structural component from data.
    Inherited from SVGContentHandler
  endElement(self, name)
Signals the end of an element in non-namespace mode.
  handlePathTag(self, attrs)
Parses PATH tag.
  handleRectTag(self, attrs)
Parses RECT tag.
  startElement(self, name, attrs)
Signals the start of an element in non-namespace mode.
    Inherited from GenericXMLContentHandler
  characters(self, content)
Receive notification of character data.
  error(self, exception)
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 structural component from data.
Overrides:
svs_simulation.utilities.svgutils.SVGContentHandler.createSimComponent

Generated by Epydoc 2.1 on Thu Oct 20 15:30:25 2005 http://epydoc.sf.net