org.jafer.zclient
Class SRWBinding

java.lang.Object
  extended by org.jafer.zclient.SRWBinding
All Implemented Interfaces:
gov.loc.www.zing.srw.interfaces.SRWPort, java.rmi.Remote

public class SRWBinding
extends java.lang.Object
implements gov.loc.www.zing.srw.interfaces.SRWPort

This class binds an SRWSession to a host that supports SRW/SRU


Field Summary
protected static java.util.logging.Logger logger
          Stores a reference to the logger
private  java.lang.String url
          Stores a reference to url of the binding
 
Constructor Summary
SRWBinding(java.lang.String url)
          Constructor
 
Method Summary
 gov.loc.www.zing.srw.ScanResponseType scanOperation(gov.loc.www.zing.srw.ScanRequestType request)
          This method performs the searchRetrieveOperation connecting to the host using SRW
 gov.loc.www.zing.srw.SearchRetrieveResponseType searchRetrieveOperation(gov.loc.www.zing.srw.SearchRetrieveRequestType request)
          This method performs the scanOperation connecting to the host using SRW
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static java.util.logging.Logger logger
Stores a reference to the logger


url

private java.lang.String url
Stores a reference to url of the binding

Constructor Detail

SRWBinding

public SRWBinding(java.lang.String url)
Constructor

Parameters:
url - The url of the binding
Method Detail

searchRetrieveOperation

public gov.loc.www.zing.srw.SearchRetrieveResponseType searchRetrieveOperation(gov.loc.www.zing.srw.SearchRetrieveRequestType request)
                                                                        throws java.rmi.RemoteException
This method performs the scanOperation connecting to the host using SRW

Specified by:
searchRetrieveOperation in interface gov.loc.www.zing.srw.interfaces.SRWPort
Parameters:
request - The ScanRequestType message
Returns:
The ScanResponseType message
Throws:
java.rmi.RemoteException

scanOperation

public gov.loc.www.zing.srw.ScanResponseType scanOperation(gov.loc.www.zing.srw.ScanRequestType request)
                                                    throws java.rmi.RemoteException
This method performs the searchRetrieveOperation connecting to the host using SRW

Specified by:
scanOperation in interface gov.loc.www.zing.srw.interfaces.SRWPort
Parameters:
body - The SearchRetrieveRequestType message
Returns:
The SearchRetrieveResponseType message
Throws:
java.rmi.RemoteException