com.supermap.services.providers
Class 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 version of the GetFeature request class.
Can be used to obtain the XML document for the GetFeature request that executed by the 1.0.0 version of 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 FeatureRequest10000(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)ConstructsFeatureRequest10000object based on the WFS service address, user name, and password.
-
Method Summary
Methods Modifier and Type Method and Description protected voidcreateQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)Creates a URI of the GetFeature operation through the bounds query.protected voidcreateQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)Creates a URI of the GetFeature operation through the Filter query.protected voidcreateQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)Creates a URI of the GetFeature operation through the feature ID query.protected java.lang.StringcreateQueryURL(WFSQueryParameter wfsQueryParameter)Create a URI for the GetFeature operation.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.-
Methods inherited from class com.supermap.services.providers.AbstractGetFeatureRequest
getQueryType
-
Methods inherited from class com.supermap.services.providers.AbstractDocumentGetRequest
appendKVP, appendKVP, getDocument
-
-
-
-
Constructor Detail
-
FeatureRequest10000
public FeatureRequest10000(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)Constructs
FeatureRequest10000object 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 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.
- Specified by:
getFeaturein classAbstractGetFeatureRequest- 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.
-
createQueryURL
protected java.lang.String createQueryURL(WFSQueryParameter wfsQueryParameter) throws EncodeExceptionCreate a URI for the GetFeature operation.
- Parameters:
wfsQueryParameter- wfsQueryParameter query parameters.- Returns:
- The target URI for the GetFeature operation on the WFS service.
- Throws:
EncodeException- Filter If the object encoding process has an error, the exception is thrown.
-
createQueryByIDsURL
protected void createQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)Creates a URI of the GetFeature operation through the feature ID query.
- Parameters:
wfsQueryParameter- WFS feature query parameters.result- The root directory of the WFS service.
-
createQueryByFilterURL
protected void createQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result) throws EncodeExceptionCreates a URI of the GetFeature operation through the Filter query.
- Parameters:
wfsQueryParameter- WFS feature query parameters.result- The root directory of the WFS service.- Throws:
EncodeException- Filter If the object encoding process has an error, the exception is thrown.
-
createQueryByBBOXURL
protected void createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)Creates a URI of the GetFeature operation through the bounds query.
- Parameters:
wfsQueryParameter- WFS feature query parameters.result- The root directory of the WFS service.
-
-