Skip to content

Commit

Permalink
Added DataLink support
Browse files Browse the repository at this point in the history
  • Loading branch information
mmpcn committed Feb 27, 2014
1 parent b9a9f30 commit 608fe7c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions splat/src/main/uk/ac/starlink/splat/vo/SSAQuery.java
Expand Up @@ -87,6 +87,9 @@ public class SSAQuery

/** The StarTable formed from the getData Parameters of the query */
private GetDataTable getDataTable = null;

/** The DataLink input parameters */
private DataLinkParams dataLinkParams = null;

/**
* Create an instance with the given base URL for an SSA service.
Expand Down Expand Up @@ -291,6 +294,23 @@ public GetDataTable getGetDataTable()
{
return getDataTable;
}

/**
* Set the DataLink parameters
*/
public void setDataLinkParams( DataLinkParams dlparams )
{
this.dataLinkParams = dlparams;
}

/**
* Get then getDataTable, if defined, if not return null.
*/
public DataLinkParams getDataLinkParams()
{
return dataLinkParams;
}

/**
* Get the constructed query as a URL. This should be used to contact the
* server and the content downloaded as a VOTable (which should then be
Expand All @@ -302,6 +322,7 @@ public URL getQueryURL()
return new URL(getQueryURLText());
}


public String getQueryURLText() throws UnsupportedEncodingException
{

Expand Down

0 comments on commit 608fe7c

Please sign in to comment.