Home | Trees | Indices | Help |
|
---|
|
object --+ | StructureBase --+ | object --+ | | | common.Parser --+ | ParseableStructure
is a base class for Structures parseable from EventProcessors (and thus XML).
This is still abstract in that you need at least a name_ attribute. But it knows how to be fed from a parser, plus you have feed and feedObject methods that look up the attribute names and call the methods on the respective attribute definitions.
Nested Classes | |
Inherited from |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Class Methods | |
Inherited from |
Class Variables | |
__implemented__ = <implementedBy gavo.base.structure.Parseable
|
|
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Returns an attribute instance from name. This function will raise a StructureError if no matching attribute definition is found. |
feeds the literal to the attribute name. If you do not have a proper parse context ctx, so there may be restrictions on what literals can be fed. |
yields an event sequence that transfers the copyable information from self to something receiving the events. If something is not copyable, it is ignored (i.e., keeps its default on the target object). |
feeds parsed objects from another structure. This only works if the other structure is a of the same or a superclass of self. |
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
|
Class Variable Details |
__implemented__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |