Package org.gvsig.gazetteer.adl.drivers
Class ADLSearchByName
java.lang.Object
org.gvsig.catalog.drivers.AbstractDiscoveryServiceDriver
org.gvsig.gazetteer.drivers.AbstractGazetteerServiceDriver
org.gvsig.gazetteer.adl.drivers.ADLGazetteerServiceDriver
org.gvsig.gazetteer.adl.drivers.ADLSearchByName
- All Implemented Interfaces:
org.gvsig.catalog.drivers.IDiscoveryServiceDriver,IGazetteerServiceDriver
This class is used to find and return the coordinates for a place.
- Author:
- Jorge Piera Llodra (piera_jor@gva.es)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor witout filedsADLSearchByName(String uri) This class needs the server URL to work -
Method Summary
Modifier and TypeMethodDescriptionFeature[]It searches and returns an array of features.voidsetServerURI(String serverURL) Methods inherited from class org.gvsig.gazetteer.adl.drivers.ADLGazetteerServiceDriver
getCapabilities, getDefaultPort, getDefaultSchema, getFeature, getServiceName, isProtocolSupportedMethods inherited from class org.gvsig.gazetteer.drivers.AbstractGazetteerServiceDriver
createQuery, describeFeatureType, getFeatureTypes, getProjection, getQuery, getUsername, isDescribeFeatureTypeNeeded, needsUsername, setFeatureTypes, setProjection, setQuery, setUsernameMethods inherited from class org.gvsig.catalog.drivers.AbstractDiscoveryServiceDriver
getAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.catalog.drivers.IDiscoveryServiceDriver
createQuery, getAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toStringMethods inherited from interface org.gvsig.gazetteer.drivers.IGazetteerServiceDriver
describeFeatureType, getProjection, getUsername, isDescribeFeatureTypeNeeded, needsUsername, setProjection, setUsername
-
Field Details
-
serverURL
-
-
Constructor Details
-
ADLSearchByName
This class needs the server URL to work- Parameters:
url- Server URL
-
ADLSearchByName
public ADLSearchByName()Constructor witout fileds
-
-
Method Details
-
search
It searches and returns an array of features.- Parameters:
placeName- String with the place name to find.- Returns:
-
getServerURI
- Returns:
- Returns the serverURL.
-
setServerURI
- Parameters:
serverURL- The serverURL to set.
-