public abstract class AbstractGetFeatureRequest extends AbstractDocumentGetRequest
The class obtained from the operation results of the WFS service GetFeature.
Can be used to get the XML document obtained by executing the GetFeature request on the WFS service.
password, serviceURL, URL_CHARSET, userName
Constructor and Description |
---|
AbstractGetFeatureRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
Build the
AbstractGetFeatureRequest object based on the WFS service address, user name, and password. |
Modifier and Type | Method and Description |
---|---|
abstract org.w3c.dom.Document |
getFeature(WFSQueryParameter wfsQueryParameter)
Get the GetFeature request against the target WFS service according to the WFS query parameter, and get the XML document for the response.
|
protected com.supermap.services.providers.QueryType |
getQueryType(WFSQueryParameter queryParam)
Determine the type of query that performs the GetFeature operation.
|
appendKVP, appendKVP, getDocument
public AbstractGetFeatureRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
Build the AbstractGetFeatureRequest
object based on the WFS service address, user name, and password.
service
- URL The URI root of the target WFS service.userName
- username.password
- password.public abstract org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter) throws OGCException
Get the GetFeature request against the target WFS service according to the WFS query parameter, and get the XML document for the response.
wfsQueryParameter
- WFS query parameters.OGCException
- The OGC service exception is thrown when an acquisition process error occurs.protected com.supermap.services.providers.QueryType getQueryType(WFSQueryParameter queryParam)
Determine the type of query that performs the GetFeature operation.
queryParam
- WFS query parameters to be judged.