public abstract class WMTSOperationsMetadataImpl extends WMTSBaseStruct implements WMTSOperationsMetadata
Modifier and Type | Field and Description |
---|---|
String |
online_resource |
protected HashMap<String,WMTSOperation> |
operationsGet |
protected HashMap<String,WMTSOperation> |
operationsPost |
gmlTag
Constructor and Description |
---|
WMTSOperationsMetadataImpl() |
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
|
WMTSOperation |
createOperation(String name) |
WMTSOperation |
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)
Gets the online resource for the protocols GET and POST
|
Hashtable<String,String> |
getSupportedOperationsByName()
Get a hash map with the supported operations
|
boolean |
isOperationSupported(String operationName) |
compareName, getAbstract, getIdentifier, getTitle, nextText, parse, setAbstract, setIdentifier, setTitle
public String online_resource
protected HashMap<String,WMTSOperation> operationsGet
protected HashMap<String,WMTSOperation> operationsPost
public String getOnline_resource()
public WMTSOperation createOperation(String name)
public WMTSOperation 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)
WMTSOperationsMetadata
getOnlineResource
in interface WMTSOperationsMetadata
operation
- The operationpublic String getOnlineResource(String operation)
WMTSOperationsMetadata
getOnlineResource
in interface WMTSOperationsMetadata
operation
- The operationpublic Hashtable<String,String> getSupportedOperationsByName()
WMTSOperationsMetadata
getSupportedOperationsByName
in interface WMTSOperationsMetadata
public boolean isOperationSupported(String operationName)
isOperationSupported
in interface WMTSOperationsMetadata