DalLoaderpublic class TapTableLoadDialog extends uk.ac.starlink.table.gui.AbstractTableLoadDialog implements DalLoader
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TapTableLoadDialog.TapRunMode |
Enum for TAP run modes.
|
| Constructor | Description |
|---|---|
TapTableLoadDialog() |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
acceptResourceIdList(java.lang.String[] ivoids,
java.lang.String msg) |
Takes a list of resource ID values and may load them or a subset
into this object's dialogue as appropriate.
|
void |
addRunningQuery(UwsJob tapJob) |
Adds a running TAP query to the list of queries this dialogue
is currently aware of.
|
void |
configure(uk.ac.starlink.table.StarTableFactory tfact,
javax.swing.Action submitAct) |
|
protected java.awt.Component |
createQueryComponent() |
|
protected TapTableLoadDialog.TapRunMode[] |
createRunModes() |
Returns the run modes provided by this dialogue.
|
uk.ac.starlink.table.gui.TableLoader |
createTableLoader() |
|
protected uk.ac.starlink.table.TableSequence |
createTableSequence(uk.ac.starlink.table.StarTableFactory tfact,
UwsJob tapJob,
uk.ac.starlink.table.DescribedValue[] tapMeta) |
Returns a table sequence constructed from a given TAP query.
|
protected TapQueryPanel |
createTapQueryPanel() |
Creates a new TapQueryPanel.
|
uk.ac.starlink.util.ContentCoding |
getContentCoding() |
Returns the HTTP content coding policy used for TAP queries and
some metadata requests.
|
EndpointSet |
getEndpointSet() |
Returns the URL of the currently selected TAP service.
|
RegistryPanel |
getRegistryPanel() |
Returns the registry panel for this dialogue.
|
javax.swing.Action |
getReloadAction() |
Returns a panel-specific reload action.
|
protected uk.ac.starlink.table.StarTable |
getUploadTable(java.lang.String upLabel) |
Returns a table named by an upload specifier in an ADQL query.
|
boolean |
isReady() |
|
static void |
main(java.lang.String[] args) |
Main method pops up an instance of this dialog.
|
void |
setContentCoding(uk.ac.starlink.util.ContentCoding coding) |
Sets the HTTP content coding policy to use for TAP queries and
some metadata requests.
|
void |
setMetaPolicy(TapMetaPolicy metaPolicy) |
Sets the policy used for TAP service metadata acquisition.
|
void |
setPreferredOutputFormat(java.lang.String ofmtName) |
Sets the preferred format in which the service is to provide the
table output.
|
void |
setServiceFinder(TapServiceFinder finder) |
Sets the object that can locate TAP services by table metadata.
|
void |
setVOTableWriter(uk.ac.starlink.votable.VOTableWriter vowriter) |
Sets the VOTableWriter used to serialise tables for upload
to the TAP service when upload queries are performed.
|
asIOException, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isAvailable, isComponentShowing, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReadypublic void configure(uk.ac.starlink.table.StarTableFactory tfact,
javax.swing.Action submitAct)
configure in class uk.ac.starlink.table.gui.AbstractTableLoadDialogprotected java.awt.Component createQueryComponent()
createQueryComponent in class uk.ac.starlink.table.gui.AbstractTableLoadDialogprotected uk.ac.starlink.table.StarTable getUploadTable(java.lang.String upLabel)
upLabel - name part of an uploaded table specification,
that is the part following the "TAP_UPLOAD." partupLabelpublic uk.ac.starlink.table.gui.TableLoader createTableLoader()
public void addRunningQuery(UwsJob tapJob)
tapJob - UWS job representing TAP querypublic void setMetaPolicy(TapMetaPolicy metaPolicy)
metaPolicy - new metadata acquisition policypublic void setPreferredOutputFormat(java.lang.String ofmtName)
ofmtName - output format MIME type, alias or ivo-idpublic void setServiceFinder(TapServiceFinder finder)
finder - new finderpublic void setVOTableWriter(uk.ac.starlink.votable.VOTableWriter vowriter)
vowriter - new votable serializerpublic void setContentCoding(uk.ac.starlink.util.ContentCoding coding)
coding - configures HTTP compressionpublic uk.ac.starlink.util.ContentCoding getContentCoding()
public javax.swing.Action getReloadAction()
public boolean acceptResourceIdList(java.lang.String[] ivoids,
java.lang.String msg)
DalLoaderacceptResourceIdList in interface DalLoaderivoids - ivo:-type identifier stringsmsg - text of user-directed message to explain where the
IDs came frompublic EndpointSet getEndpointSet()
protected TapTableLoadDialog.TapRunMode[] createRunModes()
protected uk.ac.starlink.table.TableSequence createTableSequence(uk.ac.starlink.table.StarTableFactory tfact,
UwsJob tapJob,
uk.ac.starlink.table.DescribedValue[] tapMeta)
throws java.io.IOException
tfact - table factorytapJob - UWS job representing async TAP querytapMeta - metadata describing the query suitable for
decorating the resulting tablejava.io.IOExceptionprotected TapQueryPanel createTapQueryPanel()
public boolean isReady()
isReady in class uk.ac.starlink.table.gui.AbstractTableLoadDialogpublic RegistryPanel getRegistryPanel()
DalLoadergetRegistryPanel in interface DalLoaderpublic static void main(java.lang.String[] args)
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.