Class OGCServiceInformation

java.lang.Object
org.gvsig.remoteclient.ogc.OGCServiceInformation

public abstract class OGCServiceInformation extends Object
  • Field Details

    • online_resource

      public String online_resource
    • operationsGet

      protected HashMap operationsGet
    • operationsPost

      protected HashMap operationsPost
  • Constructor Details

    • OGCServiceInformation

      public OGCServiceInformation()
  • Method Details

    • getOnline_resource

      public String getOnline_resource()
      Returns:
      Returns the online_resource.
    • createOperation

      public abstract OGCClientOperation createOperation(String name)
    • createOperation

      public abstract OGCClientOperation createOperation(String name, String onlineResource)
    • addOperation

      public void addOperation(String operation, int protocol)
      Add a new supported operation
      Parameters:
      operation - The operation to support
      protocol - The HTTP protocol (Get or Post)
    • addOperation

      public void addOperation(String operation, int protocol, String onlineResource)
      Add a new supported operation
      Parameters:
      operation - The operation to support
      protocol - The HTTP protocol (Get or Post)
      onlineResource - The online resource
    • getOnlineResource

      public String getOnlineResource(String operation, int protocol)
      Gest the online resource for a concrete operation
      Parameters:
      operation - The operation
      protocol - The HTTP protocol (Get or Post)
      Returns:
      The online resource
    • getOnlineResource

      public String getOnlineResource(String operation)
      Gets the online resource for a concrete operation. The default protocol is GET
      Parameters:
      operation - The operation
      Returns:
      The online resource
    • getSupportedOperationsByName

      public Hashtable getSupportedOperationsByName()
      Get a hash map with the supported operations
      Returns:
    • isOperationSupported

      public boolean isOperationSupported(String operationName)