com.supermap.services.providers
类 FeatureRequest10000
- java.lang.Object
- 
- com.supermap.services.providers.AbstractDocumentGetRequest
- 
- com.supermap.services.providers.AbstractGetFeatureRequest
- 
- com.supermap.services.providers.FeatureRequest10000
 
 
 
- 
 
 public class FeatureRequest10000 extends AbstractGetFeatureRequest WFS 1.0.0 版本的 GetFeature 请求类。 可用于获取对 WFS 1.0.0 服务执行 GetFeature 请求得到的 XML 文档。 
- 
- 
字段概要- 
从类继承的字段 com.supermap.services.providers.AbstractDocumentGetRequestpassword, serviceURL, URL_CHARSET, userName
 
- 
 - 
构造器概要构造器 构造器和说明 FeatureRequest10000(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)根据 WFS 1.0.0 服务地址、用户名、密码构建FeatureRequest10000对象。
 - 
方法概要方法 限定符和类型 方法和说明 protected voidcreateQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)创建通过边界框查询的 GetFeature 操作的 URI。protected voidcreateQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)创建通过 Filter 元素查询的 GetFeature 操作的 URI。protected voidcreateQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)创建通过要素 ID 查询的 GetFeature 操作的 URI。protected java.lang.StringcreateQueryURL(WFSQueryParameter wfsQueryParameter)创建 GetFeature 操作的 URI。org.w3c.dom.DocumentgetFeature(WFSQueryParameter wfsQueryParameter)根据 WFS 查询参数对目标 WFS 服务执行 GetFeature 请求,获取响应的 XML 文档。- 
从类继承的方法 com.supermap.services.providers.AbstractGetFeatureRequestgetQueryType
 - 
从类继承的方法 com.supermap.services.providers.AbstractDocumentGetRequestappendKVP, appendKVP, getDocument
 
- 
 
- 
- 
- 
构造器详细资料- 
FeatureRequest10000public FeatureRequest10000(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)根据 WFS 1.0.0 服务地址、用户名、密码构建 FeatureRequest10000对象。- 参数:
- serviceURL- 目标 WFS 服务的 URI 根目录。
- userName- 用户名。
- password- 密码。
 
 
- 
 - 
方法详细资料- 
getFeaturepublic org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter) throws OGCException根据 WFS 查询参数对目标 WFS 服务执行 GetFeature 请求,获取响应的 XML 文档。 - 指定者:
- getFeature在类中- AbstractGetFeatureRequest
- 参数:
- wfsQueryParameter- WFS 查询参数。
- 返回:
- XML 文档,即 GetFeature 操作的响应结果。
- 抛出:
- OGCException- 获取过程出错,则抛出 OGC 服务异常。
 
 - 
createQueryURLprotected java.lang.String createQueryURL(WFSQueryParameter wfsQueryParameter) throws EncodeException创建 GetFeature 操作的 URI。 - 参数:
- wfsQueryParameter- wfsQueryParameter 查询参数。
- 返回:
- 对 WFS 服务执行 GetFeature 操作的目标 URI。
- 抛出:
- EncodeException- Filter 对象编码过程发生错误,则抛出该异常。
 
 - 
createQueryByIDsURLprotected void createQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)创建通过要素 ID 查询的 GetFeature 操作的 URI。 - 参数:
- wfsQueryParameter- WFS 要素查询参数。
- result- WFS 服务的根目录。
 
 - 
createQueryByFilterURLprotected void createQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result) throws EncodeException创建通过 Filter 元素查询的 GetFeature 操作的 URI。 - 参数:
- wfsQueryParameter- WFS 要素查询参数。
- result- WFS 服务的根目录。
- 抛出:
- EncodeException- Filter 对象编码过程发生错误,则抛出该异常。
 
 - 
createQueryByBBOXURLprotected void createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)创建通过边界框查询的 GetFeature 操作的 URI。 - 参数:
- wfsQueryParameter- WFS 要素查询参数。
- result- WFS 服务的根目录。
 
 
- 
 
-