edu.harvard.cfa.vo.tapclient.vosi
Class AccessURL
java.lang.Object
edu.harvard.cfa.vo.tapclient.vosi.AccessURL
public class AccessURL
- extends java.lang.Object
The URL, and its context within a service, that a client uses to access a particular Interface of a service.
- See Also:
Interface
,
VOResource: an XML Encoding Schema for Resource Metadata
Method Summary |
java.lang.String |
getUse()
Returns a string indicating the general way the URL is used. |
java.lang.String |
getValue()
Returns the url for this AccessURL object. |
void |
list(java.io.PrintStream output)
|
void |
list(java.io.PrintStream output,
java.lang.String indent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessURL
protected AccessURL()
getValue
public java.lang.String getValue()
- Returns the url for this AccessURL object.
- Returns:
- the url
getUse
public java.lang.String getUse()
- Returns a string indicating the general way the URL is used. The VOResource recommendation specifies the following allowed values:
- full a full URL is one that can be invoked directly without alteration.
- base a base URL is one requiring an extra portion to be appended before being invoked
- post assume the URL is a service endpoint that requires input sent via the HTTP POST mechanism.
- dir assume URL points to a directory that will return a listing of files.
- Returns:
- a string indicating the general way the URL is used. Though the values listed above are specified in the VOResource Recommendation, this object does not enforce the restriction.
list
public void list(java.io.PrintStream output)
list
public void list(java.io.PrintStream output,
java.lang.String indent)