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 Details

  • Method Details

    • getFeatureTypes

      public FeatureType[] getFeatureTypes() throws Exception
      Returns:
      the feature types
      Throws:
      Exception
    • describeFeatureType

      public FeatureTypeAttribute[] describeFeatureType(String featureName) throws Exception
      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

      public Feature[] getFeature(GazetteerQuery query) throws Exception
      This method implements the getFeature operation
      Parameters:
      query - The results query
      Returns:
      A result collection
      Throws:
      Exception
    • createNewQuery

      public GazetteerQuery createNewQuery()
      This method is used to create a new Query
      Returns:
    • getProjection

      public String getProjection()
      Returns:
      the projection
    • setProjection

      public void setProjection(String projection)
      Parameters:
      projection - the projection to set