The VOTable handler,
VOTableWriter
,
can write VOTables in a variety of flavours
(see Section 7.2). In all cases, a StarTableOutput
will write a well-formed VOTable document with a single RESOURCE element
holding one or more TABLE elements. 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 FITS or binary files 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.
The options
"votable-binary2-inline
" and "votable-binary2-href
"
will only be available
if the default VOTable output version is set to version 1.3 or greater.
See Section 7.4.4 for more explanation.
For more control over writing VOTables, consult Section 7.4.