The VOTable handler,
VOTableWriter
,
can write VOTables in a variety of flavours
(see Section 6.2). In all cases, a StarTableOutput
will write a well-formed VOTable document with a single RESOURCE element
holding a single TABLE element. The different output formats
(TABLEDATA/FITS/BINARY, inline/href) are determined by configuration
options on the handler instance. The default handler writes to
inline TABLEDATA format.
The href-type formats write a (short) XML file and a FITS or binary file with a similar name into the same directory, holding the metadata and bulk data respectively. The reference from the one to the other is a relative URL, so if one is moved, they both should be.
For more control over writing VOTables, consult Section 6.4.