com.supermap.services.providers

Class AbstractGetFeatureRequest

  • Direct Known Subclasses:
    FeatureRequest10000


    public abstract class AbstractGetFeatureRequest
    extends AbstractDocumentGetRequest
    

    The class obtained from the operation results of the WFS service GetFeature.

    Can be used to get the XML document obtained by executing the GetFeature request on the WFS service.

    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractGetFeatureRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
      Build the AbstractGetFeatureRequest object based on the WFS service address, user name, and password.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      abstract org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter)
      Get the GetFeature request against the target WFS service according to the WFS query parameter, and get the XML document for the response.
      protected com.supermap.services.providers.QueryType getQueryType(WFSQueryParameter queryParam)
      Determine the type of query that performs the GetFeature operation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractGetFeatureRequest

        public AbstractGetFeatureRequest(java.lang.String serviceURL,
                                 java.lang.String userName,
                                 java.lang.String password)
        

        Build the AbstractGetFeatureRequest object based on the WFS service address, user name, and password.

        Parameters:
        service - URL The URI root of the target WFS service.
        userName - username.
        password - password.
    • Method Detail

      • getFeature

        public abstract org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter)
                                                 throws OGCException
        

        Get the GetFeature request against the target WFS service according to the WFS query parameter, and get the XML document for the response.

        Parameters:
        wfsQueryParameter - WFS query parameters.
        Returns:
        XML document, that is, the response result of the GetFeature operation.
        Throws:
        OGCException - The OGC service exception is thrown when an acquisition process error occurs.
      • getQueryType

        protected com.supermap.services.providers.QueryType getQueryType(WFSQueryParameter queryParam)
        

        Determine the type of query that performs the GetFeature operation.

        Parameters:
        queryParam - WFS query parameters to be judged.
        Returns:
        The type of feature query.