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