Home | Trees | Indices | Help |
|
---|
|
xml.sax.handler.ContentHandler --+ | XmlSaxHandler
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
tag_file = 1
|
|||
tag_version = 2
|
|||
tag_basic = 3
|
|||
tag_alias = 4
|
|||
tag_enum = 5
|
|||
tag_option = 6
|
|||
tag_bit_struct = 7
|
|||
tag_struct = 8
|
|||
tag_attribute = 9
|
|||
tag_bits = 10
|
|||
tags =
|
|||
tags_niftools =
|
|
Set up the xml parser.
|
|
|
Called when parser starts parsing an element called C{name}. This function sets up all variables for creating the class in the C{self.endElement} function. For struct elements, it will set up C{self.class_name}, C{self.class_bases}, and C{self.class_dict} which will be used to create the class by invokation of C{type} in C{self.endElement}. For basic, enum, and bitstruct elements, it will set up C{self.basic_class} to link to the proper class implemented by C{self.cls}. The code also performs sanity checks on the attributes. For xml add tags, the function will add an entry to the C{self.class_dict["_attrs"]} list. Note that this list is used by the struct metaclass: the class attributes are created exactly from this list.
|
Called at the end of each xml tag. Creates classes.
|
Called when the xml is completely parsed. Searches and adds class customized functions. For version tags, adds version to version and game lists.
|
|
|
tags
|
tags_niftools
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 10 19:03:56 2011 | http://epydoc.sourceforge.net |