org.eclipse.higgins.idas.registry.discovery
Class YadisDiscovery

java.lang.Object
  extended byorg.eclipse.higgins.idas.registry.discovery.AbstractDiscovery
      extended byorg.eclipse.higgins.idas.registry.discovery.YadisDiscovery
All Implemented Interfaces:
IDiscovery

public class YadisDiscovery
extends AbstractDiscovery

A Discovery implementation that uses Yadis discovery to obtain an XRDS document

Author:
msabadello at parityinc dot net

Constructor Summary
YadisDiscovery(URL url)
           
 
Method Summary
 org.openxri.xml.XRDS discoverXRDS()
           
 URL getUrl()
           
 void setUrl(URL url)
           
 String toString()
           
 org.openxri.xml.XRDS yadisGet(URL url)
           
 org.openxri.xml.XRDS yadisGet(URL url, int depth)
           
 org.openxri.xml.XRDS yadisHead(URL url)
           
 
Methods inherited from class org.eclipse.higgins.idas.registry.discovery.AbstractDiscovery
discoverAllServices, discoverDefaultService, discoverService, discoverServices, discoverXRD
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

YadisDiscovery

public YadisDiscovery(URL url)
Method Detail

discoverXRDS

public org.openxri.xml.XRDS discoverXRDS()
                                  throws DiscoveryException
Specified by:
discoverXRDS in interface IDiscovery
Specified by:
discoverXRDS in class AbstractDiscovery
Throws:
DiscoveryException

yadisHead

public org.openxri.xml.XRDS yadisHead(URL url)
                               throws DiscoveryException
Throws:
DiscoveryException

yadisGet

public org.openxri.xml.XRDS yadisGet(URL url)
                              throws DiscoveryException
Throws:
DiscoveryException

yadisGet

public org.openxri.xml.XRDS yadisGet(URL url,
                                     int depth)
                              throws DiscoveryException
Throws:
DiscoveryException

getUrl

public URL getUrl()

setUrl

public void setUrl(URL url)

toString

public String toString()