Home | Trees | Indices | Help |
|
---|
|
Functions returning xmlstan for various OAI/VOR documents.
This comprises basic VOResource elements; capabilities and interfaces (i.e. everything to do with renderers) are in registry.capabilities.
All this only becomes difficult when actually generating VOResource metadata (OAI is plain). For every type of VO resource (CatalogService, Registry, etc), there's a XYResourceMaker, all inheriting ResourceMaker.
The decision what VOResource type a given service has is passed using common.getResType; this means the resType meta is tried first, using resob.resType as a fallback.
Classes | |
ResourceMaker A base class for the generation of VOResource elements. |
|
ServiceResourceMaker A ResourceMaker adding rights and capabilities. |
|
DataServiceResourceMaker A ResourceMaker for DataServices. |
|
CatalogServiceResourceMaker | |
RegistryResourceMaker | |
OrgResourceMaker | |
AuthResourceMaker | |
StandardsResourceMaker | |
DocResourceMaker | |
DeletedResourceMaker | |
DataCollectionResourceMaker A base class for Table- and DataResourceMaker. |
|
TableResourceMaker A ResourceMaker for rscdef.TableDef items (yielding reformed DataCollections) |
|
DataResourceMaker A ResourceMaker for rscdef.DataDescriptor items (yielding reformed DataCollections) |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
VALIDATING = False
|
|
__package__ =
|
|
metaName =
|
|
term =
|
|
vorTerm =
|
Function Details |
returns OAI Identify stanxml. registryService is the registry we're identifying, i.e. typically __system__/services#registry |
returns stanxml for ListRecords in dublin core format. resobs is a sequence of res objects. makeRecord(resob, setNames) -> stanxml is a function that returns an OAI.record element. For ivo_vor metadata prefixes, this is overridden. by getVOListRecordsElement. |
returns a stanxml for Resource in VOR format. There's trouble here in that we have set management on the level of renderers (capabilities). Thus, to come up with capabilities for a given ivorn, we have to know what set is queried. However, OAI GetRecord doesn't specify sets. So, we provide a default set of ivo_managed, assuming that the registry is only interested in records actually VO-registred. This may fly into our face, but I can't see a way around it given the way our services are described. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |