com.supermap.services.providers

Class AbstractCapabilitiesRequest

  • Direct Known Subclasses:
    CapabilitiesRequest10000


    public abstract class AbstractCapabilitiesRequest
    extends AbstractDocumentGetRequest
    

    GetCapabilities request class of WFS service.

    Used to get the XML document obtained by executing the GetCapabilities request on the WFS service.

    • Constructor Summary

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

      Methods 
      Modifier and Type Method and Description
      protected java.lang.StringBuffer getBaseURL()
      Constructs the URI of the GetCapabilities request.
      abstract org.w3c.dom.Document getCapabilities()
      Execute a GetCapabilities request on the target WFS service to get the responsed XML document.
      • Methods inherited from class java.lang.Object

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

      • version

        protected java.lang.String version
        

        The version number of the WFS service request that was sent.

    • Constructor Detail

      • AbstractCapabilitiesRequest

        protected AbstractCapabilitiesRequest(java.lang.String serviceURL,
                                   java.lang.String userName,
                                   java.lang.String password,
                                   java.lang.String version)
        

        Build the AbstractCapabilitiesRequest object based on the WFS service address, user name, password, WFS service version number.

        Parameters:
        service - URL The URI root of the target WFS service.
        userName - username.
        password - password.
        version - The version number of the WFS service request that was sent.
    • Method Detail

      • getCapabilities

        public abstract org.w3c.dom.Document getCapabilities()
        

        Execute a GetCapabilities request on the target WFS service to get the responsed XML document.

        Returns:
        XML document. The response result of the GetCapabilities request.
      • getBaseURL

        protected java.lang.StringBuffer getBaseURL()
        

        Constructs the URI of the GetCapabilities request. Includes the SERVICE, REQUEST and VERSION parameter.

        Returns:
        Execute the URI of the GetCapabilities request.