Package org.gvsig.catalog.drivers
Interface IDiscoveryServiceDriver
- All Known Subinterfaces:
ICatalogServiceDriver
- All Known Implementing Classes:
AbstractCatalogServiceDriver,AbstractDiscoveryServiceDriver,CSWCatalogServiceDriver,CSWebRIMCatalogServiceDriver,CSWISO19115CatalogServiceDriver,SRWCatalogServiceDriver,Z3950CatalogServiceDriver
public interface IDiscoveryServiceDriver
- Author:
- Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
-
Method Summary
Modifier and TypeMethodDescriptionCreate and return an empty queryThere are protocols that can support other attributes to do the search.getCapabilities(URI uri) It try to discover the server capabilities.intorg.gvsig.utils.swing.jcomboServer.ServerDataIt return a message to write in the server connection framebooleanisProtocolSupported(URI uri) It have to prove if the specified protocol is supported.voidsetServerAnswerReady(String message) It sets an error messagetoString()This message will be showed in the protocols combo
-
Method Details
-
getCapabilities
It try to discover the server capabilities.- Parameters:
uri- Server URI- Returns:
- Node with the server answer.
- Throws:
NotSupportedVersionException
-
isProtocolSupported
It have to prove if the specified protocol is supported.- Parameters:
uri- Server URI- Returns:
- true if is supported, false if it isn't supported
- Throws:
NotSupportedProtocolException
-
getServerAnswerReady
String getServerAnswerReady()It return a message to write in the server connection frame- Returns:
- It is/isn't the supported protocol
-
setServerAnswerReady
It sets an error message -
getDefaultPort
int getDefaultPort()- Returns:
- the dafault port for an specific service
-
getDefaultSchema
String getDefaultSchema()- Returns:
- the dafault schema for an specific service
-
getServiceName
String getServiceName()- Returns:
- the service name that will be showed in the user interface
-
toString
String toString()This message will be showed in the protocols combo -
getAditionalSearchPanel
SearchAditionalPropertiesPanel getAditionalSearchPanel()There are protocols that can support other attributes to do the search. They have to provide its own panel to do the search- Returns:
- JPanel with a list of properties.
-
createQuery
DiscoveryServiceQuery createQuery()Create and return an empty query- Returns:
-
getOneServer
org.gvsig.utils.swing.jcomboServer.ServerData getOneServer()- Returns:
- if the protocol always works with the same server
-