Package gavo :: Package votable :: Module model :: Class VOTable :: Class TABLE
[frames] | no frames]

Class TABLE

source code

           object --+            
                    |            
utils.stanxml.Element --+        
                        |        
      VOTable._VOTElement --+    
                            |    
    VOTable._DescribedElement --+
                                |
                               VOTable.TABLE

A TABLE element.

If you want to access fields by name (getFieldForName), make sure name and ids are unique.

Nested Classes

Inherited from utils.stanxml.Element: __metaclass__

Instance Methods
 
getFields(*args) source code
 
getFieldForName(self, name)
returns the FIELD having a name or id of name.
source code
 
__init__(self, ID=None, id=None, name=None, nrows=None, ref=None, ucd=None, utype=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from _DescribedElement: getDescription, getDesignation

Inherited from utils.stanxml.Element: __call__, __getitem__, __iter__, __nonzero__, addAttribute, addChild, apply, asETree, bailIfBadChild, deepcopy, getChildDict, isEmpty, iterAttNames, iterChildren, iterChildrenOfType, iterChildrenWithName, render, shouldBeSkipped

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

Class Variables

Inherited from utils.stanxml.Element: name_

Properties

Inherited from object: __class__

Method Details

getFields(*args)

source code 
Decorators:
  • @utils.memoized

getFieldForName(self, name)

source code 

returns the FIELD having a name or id of name.

A KeyError is raised when the field does not exist; if names are not unique, the last column with the name specified is returned.

__init__(self, ID=None, id=None, name=None, nrows=None, ref=None, ucd=None, utype=None)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)