public abstract class AbstractGetFeatureRequest extends AbstractDocumentGetRequest
WFS 服务的 GetFeature 操作结果获取类。
可用于获取对 WFS 服务执行 GetFeature 请求得到的 XML 文档。
password, serviceURL, URL_CHARSET, userName| 构造器和说明 |
|---|
AbstractGetFeatureRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
根据 WFS 服务地址、用户名、密码构建
AbstractGetFeatureRequest 对象。 |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract org.w3c.dom.Document |
getFeature(WFSQueryParameter wfsQueryParameter)
根据 WFS 查询参数对目标 WFS 服务执行 GetFeature 请求,获取响应的 XML 文档。
|
protected com.supermap.services.providers.QueryType |
getQueryType(WFSQueryParameter queryParam)
判断执行 GetFeature 操作,进行查询的类型。
|
appendKVP, appendKVP, getDocument
public AbstractGetFeatureRequest(java.lang.String serviceURL,
java.lang.String userName,
java.lang.String password)
根据 WFS 服务地址、用户名、密码构建 AbstractGetFeatureRequest 对象。
serviceURL - 目标 WFS 服务的 URI 根目录。userName - 用户名。password - 密码。
public abstract org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter)
throws OGCException
根据 WFS 查询参数对目标 WFS 服务执行 GetFeature 请求,获取响应的 XML 文档。
wfsQueryParameter - WFS 查询参数。OGCException - 获取过程出错,则抛出 OGC 服务异常。protected com.supermap.services.providers.QueryType getQueryType(WFSQueryParameter queryParam)
判断执行 GetFeature 操作,进行查询的类型。
queryParam - 要判断的 WFS 查询参数。