Package gavo :: Package protocols :: Module oaiclient :: Class IdParser
[frames] | no frames]

Class IdParser

source code

xml.sax.handler.ContentHandler --+    
                                 |    
    utils.plainxml.StartEndHandler --+
                                     |
                        object --+   |
                                 |   |
                     OAIErrorMixin --+
                                     |
                                    IdParser
Known Subclasses:

A parser for simple OAI-PMH headers.

Records end up as a list of dictionaries in the recs attribute.

Instance Methods
 
__init__(self, initRecs=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getResult(self) source code

Inherited from utils.plainxml.StartEndHandler: characters, cleanupName, endElement, endElementNS, getAttrsAsDict, getParentTag, parse, parseString, processingInstruction, setDocumentLocator, startElement, startElementNS

Inherited from xml.sax.handler.ContentHandler: endDocument, endPrefixMapping, ignorableWhitespace, skippedEntity, startDocument, startPrefixMapping

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

Class Variables
  resumptionToken = None
hash(x)
Properties

Inherited from object: __class__

Method Details

__init__(self, initRecs=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getResult(self)

source code 
Overrides: utils.plainxml.StartEndHandler.getResult