|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.simbad.DataDescription
An object of this class maintains all information related with a Simbad
data item. In particular it contains a VotField description needed for
XML output of the data. It receives all its information from a Parameters
object, which must have been loaded before.
The field definition file is a Parameter file organized with the following
entries:
each field is a main entry defined by a topic [FIELD-NAME], containing all
or some of the following parameters (for more details, see the VOTable
definition document):
name : name of the field. This name will be used to deal with a particular field
description : the description tag
ucd : the ucd attribute of the field
unit : the unit attribute
datatype : the datatype attribute (L,X,B,I,J,K,A,U,E,D,C,M)
precision : the precision attribute
width : the width attribute
arraysize : the arraysize attribute
Field Summary | |
private static SortedHashtable |
ddlist
|
private VotStandardField |
fld
|
Constructor Summary | |
DataDescription()
|
Method Summary | |
static int |
buildFrom(Parameters pdata)
Build the DataDescription objects from a Parameters object, which should already be loaded. |
static DataDescription |
get(java.lang.String dataname)
Gets a DataDescription object |
VotStandardField |
getField()
Gets the VotField object |
static VotStandardField |
getField(java.lang.String name)
Gets a Votable Standard Field by its name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static SortedHashtable ddlist
private VotStandardField fld
Constructor Detail |
public DataDescription()
Method Detail |
public static int buildFrom(Parameters pdata)
All the created objects are kept in alocal table and accessible through static methods.
pdata
- Parameters object containing the description of the fields
public VotStandardField getField()
public static VotStandardField getField(java.lang.String name)
name
- Name of the field
public static DataDescription get(java.lang.String dataname)
dataname
- name of the data item
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |