public abstract class CSWCatalogServiceDriver extends AbstractCatalogServiceDriver
http://portal.opengeospatial.org/files/?artifact_id=5929&version=1| Modifier and Type | Field and Description |
|---|---|
protected CSWCapabilities |
capabilities |
protected CSWAbstractProfile |
profile |
| Constructor and Description |
|---|
CSWCatalogServiceDriver() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryServiceCapabilities |
getCapabilities(URI uri)
It try to discover the server capabilities.
|
int |
getDefaultPort() |
String |
getDefaultSchema() |
protected int |
getNumberOfRecords(XMLNode node)
This function returns the number of records that have been retrieved.
|
GetRecordsReply |
getRecords(URI uri,
CatalogQuery query,
int firstRecord)
It send a request with a query to retrieve the server records
|
boolean |
isProtocolSupported(URI uri)
It have to prove if the specified protocol is supported.
|
protected abstract XMLNode[] |
retrieveResults(XMLNode root)
Retrieve and parse the results
|
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, getServiceName, setServerAnswerReady, toStringprotected CSWCapabilities capabilities
protected CSWAbstractProfile profile
public DiscoveryServiceCapabilities getCapabilities(URI uri) throws NotSupportedVersionException
IDiscoveryServiceDriverurl - NotSupportedVersionExceptionpublic GetRecordsReply getRecords(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 retrieveprotected abstract XMLNode[] retrieveResults(XMLNode root)
root - XML root nodeprotected int getNumberOfRecords(XMLNode node)
node - The answer treepublic int getDefaultPort()
getDefaultPort in interface IDiscoveryServiceDrivergetDefaultPort in class AbstractDiscoveryServiceDriverpublic String getDefaultSchema()
getDefaultSchema in interface IDiscoveryServiceDrivergetDefaultSchema in class AbstractDiscoveryServiceDriverpublic boolean isProtocolSupported(URI uri)
IDiscoveryServiceDriverisProtocolSupported in interface IDiscoveryServiceDriverisProtocolSupported in class AbstractDiscoveryServiceDriveruri - Server URI