edu.harvard.cfa.vo.tapclient.vosi
Interface Vosi

All Known Implementing Classes:
TapService

public interface Vosi

An interface for the common, basic functions of a VO service. These functions include service availability, capabilities, and tableset metadata.


Method Summary
 Availability getAvailability()
           
 Capabilities getCapabilities()
          Returns a list of Capability objects that represents the VOSI capabilities of the service.
 TableSet getTableSet()
          Returns a list of Schema objects that represents the VOSI table set metadata of the service.
 

Method Detail

getAvailability

Availability getAvailability()
                             throws HttpException,
                                    ResponseFormatException,
                                    java.io.IOException
Throws:
HttpException
ResponseFormatException
java.io.IOException

getCapabilities

Capabilities getCapabilities()
                             throws HttpException,
                                    ResponseFormatException,
                                    java.io.IOException
Returns a list of Capability objects that represents the VOSI capabilities of the service. A new VOSI capabilities request is made to the service every time the getCapabilities method is called.

Returns:
a list of Capabilty objects representing the VOSI capabilities of the service.
Throws:
HttpException - if the service responses to the VOSI Capabilities request with an unexpected HTTP status.
ResponseFormatException - if an error occurs parsing the service response into an VOSI Capabilities document.
java.io.IOException - if an error occurs creating an input stream.

getTableSet

TableSet getTableSet()
                     throws HttpException,
                            ResponseFormatException,
                            java.io.IOException
Returns a list of Schema objects that represents the VOSI table set metadata of the service. A new VOSI tables request is made to the service every time the getTableSet method is called.

Returns:
the VOSI tables from the service.
Throws:
HttpException - if the service responses to the VOSI Tables request with an unexpected HTTP status.
ResponseFormatException - if an error occurs parsing the service response into an VOSI Tables document.
java.io.IOException - if an error occurs creating an input stream.