Package org.gvsig.remoteclient.ogc
Class OGCServiceInformation
java.lang.Object
org.gvsig.remoteclient.ogc.OGCServiceInformation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOperation(String operation, int protocol) Add a new supported operationvoidaddOperation(String operation, int protocol, String onlineResource) Add a new supported operationabstract OGCClientOperationcreateOperation(String name) abstract OGCClientOperationcreateOperation(String name, String onlineResource) getOnlineResource(String operation) Gets the online resource for a concrete operation.getOnlineResource(String operation, int protocol) Gest the online resource for a concrete operationGet a hash map with the supported operationsbooleanisOperationSupported(String operationName)
-
Field Details
-
online_resource
-
operationsGet
-
operationsPost
-
-
Constructor Details
-
OGCServiceInformation
public OGCServiceInformation()
-
-
Method Details
-
getOnline_resource
- Returns:
- Returns the online_resource.
-
createOperation
-
createOperation
-
addOperation
Add a new supported operation- Parameters:
operation- The operation to supportprotocol- The HTTP protocol (Get or Post)
-
addOperation
Add a new supported operation- Parameters:
operation- The operation to supportprotocol- The HTTP protocol (Get or Post)onlineResource- The online resource
-
getOnlineResource
Gest the online resource for a concrete operation- Parameters:
operation- The operationprotocol- The HTTP protocol (Get or Post)- Returns:
- The online resource
-
getOnlineResource
Gets the online resource for a concrete operation. The default protocol is GET- Parameters:
operation- The operation- Returns:
- The online resource
-
getSupportedOperationsByName
Get a hash map with the supported operations- Returns:
-
isOperationSupported
-