com.supermap.services.providers
Class AbstractGetFeatureRequest
- java.lang.Object
-
- com.supermap.services.providers.AbstractDocumentGetRequest
-
- com.supermap.services.providers.AbstractGetFeatureRequest
-
- Direct Known Subclasses:
- FeatureRequest10000
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.
-
-
Field Summary
-
Fields inherited from class com.supermap.services.providers.AbstractDocumentGetRequest
password, serviceURL, URL_CHARSET, userName
-
-
Constructor Summary
Constructors Constructor and Description AbstractGetFeatureRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)Build theAbstractGetFeatureRequestobject based on the WFS service address, user name, and password.
-
Method Summary
Methods Modifier and Type Method and Description abstract org.w3c.dom.DocumentgetFeature(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.QueryTypegetQueryType(WFSQueryParameter queryParam)Determine the type of query that performs the GetFeature operation.-
Methods inherited from class com.supermap.services.providers.AbstractDocumentGetRequest
appendKVP, appendKVP, getDocument
-
-
-
-
Constructor Detail
-
AbstractGetFeatureRequest
public AbstractGetFeatureRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)Build the
AbstractGetFeatureRequestobject based on the WFS service address, user name, and password.- Parameters:
service- URL The URI root of the target WFS service.userName- username.password- password.
-
-
Method Detail
-
getFeature
public abstract org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter) throws OGCExceptionGet the GetFeature request against the target WFS service according to the WFS query parameter, and get the XML document for the response.
- Parameters:
wfsQueryParameter- WFS query parameters.- Returns:
- XML document, that is, the response result of the GetFeature operation.
- Throws:
OGCException- The OGC service exception is thrown when an acquisition process error occurs.
-
getQueryType
protected com.supermap.services.providers.QueryType getQueryType(WFSQueryParameter queryParam)
Determine the type of query that performs the GetFeature operation.
- Parameters:
queryParam- WFS query parameters to be judged.- Returns:
- The type of feature query.
-
-