public class Z3950CatalogServiceDriver extends AbstractCatalogServiceDriver
http://www.loc.gov/z3950/agency/
Constructor and Description |
---|
Z3950CatalogServiceDriver() |
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() |
java.lang.String |
getQueryProfile() |
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 |
getServiceName() |
boolean |
isProtocolSupported(java.net.URI uri)
It have to prove if the specified protocol is supported.
|
createQuery, getMaxRecords, getNumberOfRecords, getOutputFormat, getOutputSchema, getProfile, getQuery, getRecordsReply, getServerData, getSortBy, getStartPosition, setMaxRecords, setOutputFormat, setOutputSchema, setOutputSchema, setQuery, setServerData, setSortBy, setStartPosition
getAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toString
public DiscoveryServiceCapabilities getCapabilities(java.net.URI uri)
IDiscoveryServiceDriver
uri
- Server URIpublic GetRecordsReply getRecords(java.net.URI uri, CatalogQuery query, int firstRecord)
ICatalogServiceDriver
uri
- Server URIquery
- It contains the values to do the query (title="XXX",abstract="YYY",...)firstRecord
- Number of the first record to retrievepublic boolean isProtocolSupported(java.net.URI uri)
IDiscoveryServiceDriver
isProtocolSupported
in interface IDiscoveryServiceDriver
isProtocolSupported
in class AbstractDiscoveryServiceDriver
uri
- Server URIpublic java.lang.String getQueryProfile()
public java.lang.String getServiceName()
public int getDefaultPort()
getDefaultPort
in interface IDiscoveryServiceDriver
getDefaultPort
in class AbstractDiscoveryServiceDriver
public java.lang.String getDefaultSchema()
getDefaultSchema
in interface IDiscoveryServiceDriver
getDefaultSchema
in class AbstractDiscoveryServiceDriver