Package org.gvsig.gazetteer
Class GazetteerClient
java.lang.Object
org.gvsig.catalog.DiscoveryServiceClient
org.gvsig.gazetteer.GazetteerClient
public class GazetteerClient
extends org.gvsig.catalog.DiscoveryServiceClient
This class represents a gazetteer client. It must be created to
use the gazetteer service
- Author:
- Jorge Piera Llodra (piera_jor@gva.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method is used to create a new QuerydescribeFeatureType(String featureName) This method makes the describeFeatureType operationFeature[]getFeature(GazetteerQuery query) This method implements the getFeature operationbooleanvoidsetProjection(String projection) Methods inherited from class org.gvsig.catalog.DiscoveryServiceClient
createQuery, getAditionalSearchPanel, getCapabilities, getDriver, getProtocol, getSUri, getUri, serverIsReady, setDriver
-
Constructor Details
-
GazetteerClient
-
-
Method Details
-
getFeatureTypes
- Returns:
- the feature types
- Throws:
Exception
-
describeFeatureType
This method makes the describeFeatureType operation- Parameters:
featureName- Feature name- Returns:
- Throws:
Exception
-
isDescribeFeatureTypeNeeded
public boolean isDescribeFeatureTypeNeeded()- Returns:
- if the describeFeatureType operation is supported by the driver
-
getFeature
This method implements the getFeature operation- Parameters:
query- The results query- Returns:
- A result collection
- Throws:
Exception
-
createNewQuery
This method is used to create a new Query- Returns:
-
getProjection
- Returns:
- the projection
-
setProjection
- Parameters:
projection- the projection to set
-