Package gavo :: Package registry :: Module oaiinter :: Class RegistryCore
[frames] | no frames]

Class RegistryCore

source code

                   object --+                
                            |                
 base.structure.StructureBase --+            
                                |            
                   object --+   |            
                            |   |            
           base.common.Parser --+            
                                |            
base.structure.ParseableStructure --+        
                                    |        
             base.structure.Structure --+    
                                        |    
                           svcs.core.Core --+
                                            |
                               object --+   |
                                        |   |
          base.structure.RestrictionMixin --+
                                            |
                                           RegistryCore

is a core processing OAI requests.

Its signature requires a single input key containing the complete args from the incoming request. This is necessary to satisfy the requirement of raising errors on duplicate arguments.

It returns an ElementTree.

This core is intended to work the the RegistryRenderer.

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
runWithPMHDict(self, args) source code
 
run(self, service, inputTable, queryMeta)
returns an ElementTree containing a OAI-PMH response for the query described by pars.
source code
 
clearProperty(self, name) source code
 
getFullId(self) source code
 
getProperty(self, name, default=<Undefined>) source code
 
hasProperty(self, name) source code
 
setProperty(self, name, value) source code

Inherited from svcs.core.Core: __init__, __repr__, __str__, adaptForRenderer, completeElement, initialize, makeUserDoc

Inherited from base.structure.Structure: __provides__, callCompletedCallbacks, finishElement, onElementComplete, validate

Inherited from base.structure.ParseableStructure: end_, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

Inherited from base.structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from base.common.Parser: feedEvent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  name_ = 'registryCore'
a sentinel for all kinds of undefined values.
  inputTableXML = '\n\t\t<inputTable id="_pubregInput">\n\t\t\t<...
hash(x)
  outputTableXML = '<outputTable/>'
hash(x)
  builders = {'GetRecord': ({'ivo_vor': <__builtin__.function ob...

Inherited from svcs.core.Core: attrSeq, managedAttrs

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: completedCallbacks

Properties
  rd

Inherited from object: __class__

Method Details

run(self, service, inputTable, queryMeta)

source code 

returns an ElementTree containing a OAI-PMH response for the query described by pars.

Overrides: svcs.core.Core.run

clearProperty(self, name)

source code 
Overrides: svcs.core.Core.clearProperty

getFullId(self)

source code 
Overrides: svcs.core.Core.getFullId

getProperty(self, name, default=<Undefined>)

source code 
Overrides: svcs.core.Core.getProperty

hasProperty(self, name)

source code 
Overrides: svcs.core.Core.hasProperty

setProperty(self, name, value)

source code 
Overrides: svcs.core.Core.setProperty

Class Variable Details

inputTableXML

hash(x)

Value:
'''
\t\t<inputTable id="_pubregInput">
\t\t\t<inputKey name="args" type="raw"
\t\t\t\tmultiplicity="single"
\t\t\t\tdescription="The raw dictionary of input parameters"/>
\t\t</inputTable>
\t\t'''

builders

Value:
{'GetRecord': ({'ivo_vor': <__builtin__.function object>,
                'oai_dc': <__builtin__.function object>},
               <__builtin__.function object>),
 'Identify': (<__builtin__.function object>,
              <__builtin__.function object>),
 'ListIdentifiers': ({'ivo_vor': <__builtin__.function object>,
                      'oai_dc': <__builtin__.function object>},
                     <__builtin__.function object>),
...

Property Details

rd

Get Method:
unreachable._getRD(self)