Package gavo :: Package registry :: Module capabilities
[frames] | no frames]

Module capabilities

source code

VOResource capability/interface elements.

The basic mapping from our RD elements to VOResource elements is that each renderer on a service translates to a capability with one interface. Thus, in the module we mostly deal with publication objects. If you need the service object, use publication.parent.

Classes
  InterfaceMaker
An encapsulation of interface construction.
  VOSIInterface
  VOSIAvInterface
  VOSICapInterface
  VOSITMInterface
  InterfaceWithParams
An InterfaceMaker on a publication sporting input parameters.
  SIAPInterface
  SIAP2Interface
  SCSInterface
  SSAPInterface
  SLAPInterface
  SODASyncInterface
  SODAAsyncInterface
  EditionInterface
  TAPInterface
  ExamplesInterface
  SOAPInterface
  OAIHTTPInterface
  WebBrowserInterface
An InterfaceMaker on a publication to be consumed by a web browser.
  FormInterface
  QPInterface
  DocformInterface
  FixedInterface
  StaticInterface
  CustomInterface
  VolatileInterface
  ExternalInterface
  GetProductInterface
  CapabilityMaker
An encapsulation of capability construction.
  PlainCapabilityMaker
A capability maker for gerneric VR.capabilities.
  APICapabilityMaker
  SIACapabilityMaker
  SIAV2CapabilityMaker
  SCSCapabilityMaker
  SSACapabilityMaker
  SLAPCapabilityMaker
  TAPCapabilityMaker
  RegistryCapabilityMaker
  VOSICapabilityMaker
  VOSIAvCapabilityMaker
  VOSICapCapabilityMaker
  VOSITMCapabilityMaker
  ExamplesCapabilityMaker
  SOAPCapabilityMaker
  FormCapabilityMaker
  QPCapabilityMaker
  ExternalCapabilityMaker
  StaticCapabilityMaker
  VolatileCapabilityMaker
  CustomCapabilityMaker
  JPEGCapabilityMaker
  FixedCapabilityMaker
  DocformCapabilityMaker
  ProductCapabilityMaker
  DatalinkCapabilityMaker
  SODACapabilityMaker
  SODAAsyncCapabilityMaker
  EditionCapabilityMaker
Functions
 
getInputParamFromColumn(column, rootElement=<class 'gavo.registry.model.param'>)
returns a InputParam element for a rscdef.Column.
source code
 
getInputParams(publication, service)
returns a sequence of vs:param elements for the input of service.
source code
 
getInterfaceElement(publication)
returns the appropriate interface definition for service and renderer.
source code
 
getAuxiliaryCapability(publication)
returns a VR.capability element for an auxiliary publication.
source code
 
getCapabilityElement(publication)
returns the appropriate capability definition for a publication object.
source code
Variables
  __package__ = 'gavo.registry'
Function Details

getAuxiliaryCapability(publication)

source code 

returns a VR.capability element for an auxiliary publication.

That's a plain capability with essentially the interface and a standardId obtained from the auxiliaryId attribute of the capability's normal maker.

If no auxiliaryId is defined, None is returned (which means no capability will be generated).