Package gavo :: Package base :: Module meta :: Class MetaParser
[frames] | no frames]

Class MetaParser

source code

   object --+    
            |    
common.Parser --+
                |
               MetaParser

A structure parser that kicks in when meta information is parsed from XML.

This parser can also handle the notation with an attribute-less meta tag and lf-separated colon-pairs as content.

Instance Methods
 
__init__(self, container, nextParser)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
addMeta(self, key, content='', **kwargs) source code
 
setMeta(self, key, content='', **kwargs) source code
 
start_(self, ctx, name, value) source code
 
value_(self, ctx, name, value) source code
 
end_(self, ctx, name, value) source code

Inherited from common.Parser: __providedBy__, __provides__, feedEvent

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

Class Variables

Inherited from common.Parser: __implemented__

Properties

Inherited from object: __class__

Method Details

__init__(self, container, nextParser)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)