Home | Trees | Indices | Help |
|
---|
|
Representation of structured data deserializable from XML.
We want all the managed attribute stuff since the main user input comes from resource descriptors, and we want relatively strong input validation here. Also, lots of fancy copying and crazy cross-referencing is going on in our resource definitions, so we want a certain amount of rigorous structure. Finally, a monolithic parser for that stuff becomes *really* huge and tedious, so I want to keep the XML parsing information in the constructed objects themselves.
Classes | |
StructType is a metaclass for the representation of structured data. |
|
DataContent A magic attribute that allows character content to be added to a structure. |
|
StructureBase is a base class for all structures. |
|
ParseableStructure is a base class for Structures parseable from EventProcessors (and thus XML). |
|
Structure is the base class for user-defined structures. |
|
RestrictionMixin A mixin for structure classes not allowed in untrusted RDs. |
Functions | |||
|
|||
|
Variables | |
__package__ =
|
Function Details |
evaluates the before attributes on the AttributeDefs in attrsSeq and returns a sequence satisfying them. It returns a reference to attrSeq for convenience. |
creates a parentless instance of structClass with ``**kwargs``. You can pass in a ``parent_`` kwarg to force a parent. This is the preferred way to create struct instances in DaCHS, as it will cause the sequence of completers and validators run. Use it like this: MS(rscdef.Column, name="ra", type="double precision) |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |