|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.cfa.vo.tapclient.vosi.Capabilities
public class Capabilities
A collection of general capabilities of a service. Capabilities, according to the VOSI Recommendation, provides a list of Capability objects which
Constructor Summary | |
---|---|
Capabilities(java.lang.String fullURL)
Constructs a Capabilities object for the given service. |
Method Summary | |
---|---|
java.util.List<Capability> |
getCapabilities()
Returns the Capability list of the service. |
void |
list(java.io.PrintStream output)
|
void |
list(java.io.PrintStream output,
java.lang.String indent)
|
void |
update()
Updates this Capabilities object with the latest response from the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Capabilities(java.lang.String fullURL)
fullURL
- the full URL associated with this Capabilities object.Method Detail |
---|
public java.util.List<Capability> getCapabilities()
Capability
list of the service. The list returned is current as of the last call to update.
update()
,
Capability
public void update() throws HttpException, ResponseFormatException, java.io.IOException
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.public void list(java.io.PrintStream output)
public void list(java.io.PrintStream output, java.lang.String indent)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |