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