Home | Trees | Indices | Help |
|
---|
|
object --+ | UtypeMaker
An object encapsulating information on how to turn a stanxml node into a sequence of utype/value pairs.
This is an "universal" base, serving as a simple default. Any class handling specific node types must fill out at least the rootType attribute, giving the utype at which this UtypeMaker should kick in.
By default, utype/value pairs are only returned for nonempty element content. To change this, define _gener_<name>(node, prefix) -> iterator methods.
The actual pairs are retrieved by calling iterUtypes(node, parentPrefix).
Nested Classes | |
__metaclass__ A metaclass to facilite easy definition of UtypeMakers. |
Instance Methods | |||
|
|||
Inherited from |
Class Variables | |
bannedAttributes =
|
|
rootType = None hash(x) |
Properties | |
Inherited from |
Class Variable Details |
bannedAttributes
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |