Package rdfalchemy :: Module descriptors :: Class rdfLocale
[hide private]
[frames] | no frames]

Class rdfLocale

source code

 object --+            
          |            
rdfAbstract --+        
              |        
      rdfSingle --+    
                  |    
            rdfBest --+
                      |
                     rdfLocale

This is like rdfBest with a predefined select_fun to select from multiple choices like labels or comments and select the one with the correct locale
Instance Methods [hide private]
 
__init__(self, pred, lang, cacheName=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
select_fun(self, choices) source code

Inherited from rdfBest: __get__

Inherited from rdfSingle: __set__

Inherited from rdfAbstract: __delete__

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

Properties [hide private]

Inherited from rdfAbstract: range_class

Inherited from object: __class__

Method Details [hide private]

__init__(self, pred, lang, cacheName=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)