dalclient
Class SiapConnection

java.lang.Object
  extended bydalclient.DALConnection
      extended bydalclient.SiapConnection

public class SiapConnection
extends DALConnection

SIAP search connection. At this point the protocol is stateless and a "connection" is nothing more than a list of service URLs. Queries require a connection context be established first.


Method Summary
 SiapQuery getSiapQuery()
          Get a new empty SIAP query context for this connection.
 SiapQuery getSiapQuery(double ra, double dec, double size)
          Set up a new SIAP context for the parameters RA, DEC, and SIZE.
 SiapQuery getSiapQuery(double ra, double dec, double ra_size, double dec_size)
          Set up a new SIAP context for the parameters RA, DEC, RA_SIZE, and DEC_SIZE.
 SiapQuery getSiapQuery(double ra, double dec, double ra_size, double dec_size, java.lang.String format)
          Set up a new SIAP context for the parameters RA, DEC, SIZE, and FORMAT.
 SiapQuery getSiapQuery(double ra, double dec, double size, java.lang.String format)
          Set up a new SIAP context for the parameters RA, DEC, SIZE, and FORMAT.
 
Methods inherited from class dalclient.DALConnection
addService, getDALQuery, getServiceCount, getServiceURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSiapQuery

public SiapQuery getSiapQuery()
Get a new empty SIAP query context for this connection.


getSiapQuery

public SiapQuery getSiapQuery(double ra,
                              double dec,
                              double size)
Set up a new SIAP context for the parameters RA, DEC, and SIZE. The region of interest (ROI) defines both the default coverage of the image to be returned, for services which can dynamically generate images (e.g., a cutout service), or a search region which will match any image with overlaps the region.

Parameters:
ra - Central right ascension of the region of interest in degrees (ICRS).
dec - Central declination of the region of interest in degrees (ICRS).
size - Size (width or height) of the region of interest in degrees.

getSiapQuery

public SiapQuery getSiapQuery(double ra,
                              double dec,
                              double size,
                              java.lang.String format)
Set up a new SIAP context for the parameters RA, DEC, SIZE, and FORMAT. The region of interest (ROI) defines both the default coverage of the image to be returned, for services which can dynamically generate images (e.g., a cutout service), or a search region which will match any image with overlaps the region.

Parameters:
ra - Central right ascension of the region of interest in degrees (ICRS).
dec - Central declination of the region of interest in degrees (ICRS).
size - Size (width or height) of the region of interest in degrees.
format - Limit the query response to the specified image file format, e.g., "all", "image/fits", "image/jpeg", "image/gif", "graphics", and so forth.

getSiapQuery

public SiapQuery getSiapQuery(double ra,
                              double dec,
                              double ra_size,
                              double dec_size)
Set up a new SIAP context for the parameters RA, DEC, RA_SIZE, and DEC_SIZE. The region of interest (ROI) defines both the default coverage of the image to be returned, for services which can dynamically generate images (e.g., a cutout service), or a search region which will match any image with overlaps the region.

Parameters:
ra - Central right ascension of the region of interest in degrees (ICRS).
dec - Central declination of the region of interest in degrees (ICRS).
ra_size - Width of the region of interest in degrees.
dec_size - Height of the region of interest in degrees.

getSiapQuery

public SiapQuery getSiapQuery(double ra,
                              double dec,
                              double ra_size,
                              double dec_size,
                              java.lang.String format)
Set up a new SIAP context for the parameters RA, DEC, SIZE, and FORMAT. The region of interest (ROI) defines both the default coverage of the image to be returned, for services which can dynamically generate images (e.g., a cutout service), or a search region which will match any image with overlaps the region.

Parameters:
ra - Central right ascension of the region of interest in degrees (ICRS).
dec - Central declination of the region of interest in degrees (ICRS).
ra_size - Width of the region of interest in degrees.
dec_size - Height of the region of interest in degrees.
format - Limit the query response to the specified image file format, e.g., "all", "image/fits", "image/jpeg", "image/gif", "graphics", and so forth.