com.supermap.services.providers

Class FeatureRequest10000



  • public class FeatureRequest10000
    extends AbstractGetFeatureRequest
    

    WFS 1.0.0 version of the GetFeature request class.

    Can be used to obtain the XML document for the GetFeature request that executed by the 1.0.0 version of the WFS service.

    • Constructor Summary

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

      Methods 
      Modifier and Type Method and Description
      protected void createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
      Creates a URI of the GetFeature operation through the bounds query.
      protected void createQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
      Creates a URI of the GetFeature operation through the Filter query.
      protected void createQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
      Creates a URI of the GetFeature operation through the feature ID query.
      protected java.lang.String createQueryURL(WFSQueryParameter wfsQueryParameter)
      Create a URI for the GetFeature operation.
      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.
      • Methods inherited from class java.lang.Object

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

      • FeatureRequest10000

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

        Constructs FeatureRequest10000 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 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.

        Specified by:
        getFeature in class AbstractGetFeatureRequest
        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.
      • createQueryURL

        protected java.lang.String createQueryURL(WFSQueryParameter wfsQueryParameter)
                                           throws EncodeException
        

        Create a URI for the GetFeature operation.

        Parameters:
        wfsQueryParameter - wfsQueryParameter query parameters.
        Returns:
        The target URI for the GetFeature operation on the WFS service.
        Throws:
        EncodeException - Filter If the object encoding process has an error, the exception is thrown.
      • createQueryByIDsURL

        protected void createQueryByIDsURL(WFSQueryParameter wfsQueryParameter,
                               java.lang.StringBuffer result)
        

        Creates a URI of the GetFeature operation through the feature ID query.

        Parameters:
        wfsQueryParameter - WFS feature query parameters.
        result - The root directory of the WFS service.
      • createQueryByFilterURL

        protected void createQueryByFilterURL(WFSQueryParameter wfsQueryParameter,
                                  java.lang.StringBuffer result)
                                       throws EncodeException
        

        Creates a URI of the GetFeature operation through the Filter query.

        Parameters:
        wfsQueryParameter - WFS feature query parameters.
        result - The root directory of the WFS service.
        Throws:
        EncodeException - Filter If the object encoding process has an error, the exception is thrown.
      • createQueryByBBOXURL

        protected void createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter,
                                java.lang.StringBuffer result)
        

        Creates a URI of the GetFeature operation through the bounds query.

        Parameters:
        wfsQueryParameter - WFS feature query parameters.
        result - The root directory of the WFS service.