public class FeatureRequest10000 extends AbstractGetFeatureRequest
WFS 1.0.0 版本的 GetFeature 请求类。
可用于获取对 WFS 1.0.0 服务执行 GetFeature 请求得到的 XML 文档。
password, serviceURL, URL_CHARSET, userName| 构造器和说明 |
|---|
FeatureRequest10000(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
根据 WFS 1.0.0 服务地址、用户名、密码构建
FeatureRequest10000 对象。 |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
创建通过边界框查询的 GetFeature 操作的 URI。
|
protected void |
createQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
创建通过 Filter 元素查询的 GetFeature 操作的 URI。
|
protected void |
createQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
创建通过要素 ID 查询的 GetFeature 操作的 URI。
|
protected java.lang.String |
createQueryURL(WFSQueryParameter wfsQueryParameter)
创建 GetFeature 操作的 URI。
|
org.w3c.dom.Document |
getFeature(WFSQueryParameter wfsQueryParameter)
根据 WFS 查询参数对目标 WFS 服务执行 GetFeature 请求,获取响应的 XML 文档。
|
getQueryTypeappendKVP, appendKVP, getDocument
public FeatureRequest10000(java.lang.String serviceURL,
java.lang.String userName,
java.lang.String password)
根据 WFS 1.0.0 服务地址、用户名、密码构建 FeatureRequest10000 对象。
serviceURL - 目标 WFS 服务的 URI 根目录。userName - 用户名。password - 密码。
public org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter)
throws OGCException
根据 WFS 查询参数对目标 WFS 服务执行 GetFeature 请求,获取响应的 XML 文档。
getFeature 在类中 AbstractGetFeatureRequestwfsQueryParameter - WFS 查询参数。OGCException - 获取过程出错,则抛出 OGC 服务异常。
protected java.lang.String createQueryURL(WFSQueryParameter wfsQueryParameter)
throws EncodeException
创建 GetFeature 操作的 URI。
wfsQueryParameter - wfsQueryParameter 查询参数。EncodeException - Filter 对象编码过程发生错误,则抛出该异常。
protected void createQueryByIDsURL(WFSQueryParameter wfsQueryParameter,
java.lang.StringBuffer result)
创建通过要素 ID 查询的 GetFeature 操作的 URI。
wfsQueryParameter - WFS 要素查询参数。result - WFS 服务的根目录。
protected void createQueryByFilterURL(WFSQueryParameter wfsQueryParameter,
java.lang.StringBuffer result)
throws EncodeException
创建通过 Filter 元素查询的 GetFeature 操作的 URI。
wfsQueryParameter - WFS 要素查询参数。result - WFS 服务的根目录。EncodeException - Filter 对象编码过程发生错误,则抛出该异常。
protected void createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter,
java.lang.StringBuffer result)
创建通过边界框查询的 GetFeature 操作的 URI。
wfsQueryParameter - WFS 要素查询参数。result - WFS 服务的根目录。