These are constructed with a childFactory that must have a feedEvent
method. Otherwise, they are normal structs, i.e., the receive a
parent as the first argument and keyword arguments for values.
In addition, you can pass a onParentComplete callback that
are collected in the completedCallback list by the struct decorator.
ParseableStruct instances call these when they receive their end
event during XML deserialization.
|
|
__init__(self,
name,
childFactory,
default=<Undefined>,
description='Undocumented',
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| replace(self,
instance,
oldStruct,
newStruct) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from attrdef.AttributeDef:
doCallbacks,
iterParentMethods
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|