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

Class InfoItem

source code

object --+        
         |        
 MetaMixin --+    
             |    
     MetaValue --+
                 |
                InfoItem

A meta value for info items in VOTables.

In addition to the content (which should be rendered as the info element's text content), it contains an infoName and an infoValue.

They are only used internally in VOTable generation and might go away without notice.

Instance Methods
 
__init__(self, content, format='plain', infoName=None, infoValue=None, infoId=None)
is a constructor for standalone use.
source code

Inherited from MetaValue: __str__, __unicode__, copy, encode, getContent, getExpandedContent

Inherited from MetaMixin: addMeta, buildRepr, copyMetaFrom, delMeta, getAllMetaPairs, getMeta, getMetaKeys, getMetaParent, isEmpty, iterMeta, keys, makeOriginal, setMeta, setMetaParent, traverse

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

Class Variables

Inherited from MetaValue: consecutiveWSPat, knownFormats, paragraphPat, plainWrapper

Properties

Inherited from object: __class__

Method Details

__init__(self, content, format='plain', infoName=None, infoValue=None, infoId=None)
(Constructor)

source code 

is a constructor for standalone use. You do *not* want to call this when mixing into a Structure.

Overrides: object.__init__
(inherited documentation)