public abstract class OGCServiceInformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
online_resource |
protected java.util.HashMap |
operationsGet |
protected java.util.HashMap |
operationsPost |
Constructor and Description |
---|
OGCServiceInformation() |
Modifier and Type | Method and Description |
---|---|
void |
addOperation(java.lang.String operation,
int protocol)
Add a new supported operation
|
void |
addOperation(java.lang.String operation,
int protocol,
java.lang.String onlineResource)
Add a new supported operation
|
abstract OGCClientOperation |
createOperation(java.lang.String name) |
abstract OGCClientOperation |
createOperation(java.lang.String name,
java.lang.String onlineResource) |
java.lang.String |
getOnline_resource() |
java.lang.String |
getOnlineResource(java.lang.String operation)
Gets the online resource for a concrete operation.
|
java.lang.String |
getOnlineResource(java.lang.String operation,
int protocol)
Gest the online resource for a concrete operation
|
java.util.Hashtable |
getSupportedOperationsByName()
Get a hash map with the supported operations
|
boolean |
isOperationSupported(java.lang.String operationName) |
public java.lang.String online_resource
protected java.util.HashMap operationsGet
protected java.util.HashMap operationsPost
public java.lang.String getOnline_resource()
public abstract OGCClientOperation createOperation(java.lang.String name)
public abstract OGCClientOperation createOperation(java.lang.String name, java.lang.String onlineResource)
public void addOperation(java.lang.String operation, int protocol)
operation
- The operation to supportprotocol
- The HTTP protocol (Get or Post)public void addOperation(java.lang.String operation, int protocol, java.lang.String onlineResource)
operation
- The operation to supportprotocol
- The HTTP protocol (Get or Post)onlineResource
- The online resourcepublic java.lang.String getOnlineResource(java.lang.String operation, int protocol)
operation
- The operationprotocol
- The HTTP protocol (Get or Post)public java.lang.String getOnlineResource(java.lang.String operation)
operation
- The operationpublic java.util.Hashtable getSupportedOperationsByName()
public boolean isOperationSupported(java.lang.String operationName)