To write a VOTable using STIL you have to prepare a
StarTable
object which defines the output table's metadata and data.
The uk.ac.starlink.table
package
provides a rich set of facilities for creating and modifying these,
as described in Section 6
(see Section 6.4.2 for an example of how to
turn a set of arrays into a StarTable
).
In general the FIELD arraysize
and datatype
attributes are determined
from column classes using the same mappings described in
Section 7.1.4.
A range of facilities for writing StarTable
s out as
VOTables is offered, allowing control over the data format and the structure
of the resulting document.