public class SRWCatalogServiceDriver extends AbstractCatalogServiceDriver
http://www.loc.gov/z3950/agency/zing/srw/| Constructor and Description |
|---|
SRWCatalogServiceDriver() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryServiceCapabilities |
getCapabilities(java.net.URI uri)
It try to discover the server capabilities.
|
int |
getDefaultPort() |
java.lang.String |
getDefaultSchema() |
GetRecordsReply |
getRecords(java.net.URI uri,
CatalogQuery query,
int firstRecord)
It send a request with a query to retrieve the server records
|
java.lang.String |
getRecordXPath() |
java.lang.String |
getResultSetTTL() |
java.lang.String |
getServiceName() |
java.lang.String |
getVersion() |
boolean |
isProtocolSupported(java.net.URI uri)
It have to prove if the specified protocol is supported.
|
void |
setRecordXPath(java.lang.String recordXPath) |
void |
setResultSetTTL(java.lang.String resultSetTTL) |
void |
setVersion(java.lang.String version) |
createQuery, getMaxRecords, getNumberOfRecords, getOutputFormat, getOutputSchema, getProfile, getQuery, getRecordsReply, getServerData, getSortBy, getStartPosition, setMaxRecords, setOutputFormat, setOutputSchema, setOutputSchema, setQuery, setServerData, setSortBy, setStartPositiongetAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toStringpublic DiscoveryServiceCapabilities getCapabilities(java.net.URI uri)
IDiscoveryServiceDriveruri - Server URIpublic GetRecordsReply getRecords(java.net.URI uri, CatalogQuery query, int firstRecord)
ICatalogServiceDriveruri - Server URIquery - It contains the values to do the query (title="XXX",abstract="YYY",...)firstRecord - Number of the first record to retrievepublic java.lang.String getRecordXPath()
public void setRecordXPath(java.lang.String recordXPath)
recordXPath - The recordXPath to set.public java.lang.String getResultSetTTL()
public void setResultSetTTL(java.lang.String resultSetTTL)
resultSetTTL - The resultSetTTL to set.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version - The version to set.public boolean isProtocolSupported(java.net.URI uri)
IDiscoveryServiceDriverisProtocolSupported in interface IDiscoveryServiceDriverisProtocolSupported in class AbstractDiscoveryServiceDriveruri - Server URIpublic java.lang.String getServiceName()
public int getDefaultPort()
getDefaultPort in interface IDiscoveryServiceDrivergetDefaultPort in class AbstractDiscoveryServiceDriverpublic java.lang.String getDefaultSchema()
getDefaultSchema in interface IDiscoveryServiceDrivergetDefaultSchema in class AbstractDiscoveryServiceDriver