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.
password, serviceURL, URL_CHARSET, userName
Constructor and Description |
---|
FeatureRequest10000(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
Constructs
FeatureRequest10000 object based on the WFS service address, user name, and password. |
Modifier and Type | Method and Description |
---|---|
protected void |
createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
Creates a URI of the GetFeature operation through the bounds query.
|
protected void |
createQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
Creates a URI of the GetFeature operation through the Filter query.
|
protected void |
createQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
Creates a URI of the GetFeature operation through the feature ID query.
|
protected java.lang.String |
createQueryURL(WFSQueryParameter wfsQueryParameter)
Create a URI for the GetFeature operation.
|
org.w3c.dom.Document |
getFeature(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.
|
getQueryType
appendKVP, appendKVP, getDocument
public FeatureRequest10000(java.lang.String serviceURL, java.lang.String userName, java.lang.String password)
Constructs FeatureRequest10000
object based on the WFS service address, user name, and password.
service
- URL The URI root of the target WFS service.userName
- username.password
- password.public org.w3c.dom.Document getFeature(WFSQueryParameter wfsQueryParameter) throws OGCException
Get the GetFeature request against the target WFS service according to the WFS query parameter, and get the XML document for the response.
getFeature
in class AbstractGetFeatureRequest
wfsQueryParameter
- WFS query parameters.OGCException
- The OGC service exception is thrown when an acquisition process error occurs.protected java.lang.String createQueryURL(WFSQueryParameter wfsQueryParameter) throws EncodeException
Create a URI for the GetFeature operation.
wfsQueryParameter
- wfsQueryParameter query parameters.EncodeException
- Filter If the object encoding process has an error, the exception is thrown.protected void createQueryByIDsURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
Creates a URI of the GetFeature operation through the feature ID query.
wfsQueryParameter
- WFS feature query parameters.result
- The root directory of the WFS service.protected void createQueryByFilterURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result) throws EncodeException
Creates a URI of the GetFeature operation through the Filter query.
wfsQueryParameter
- WFS feature query parameters.result
- The root directory of the WFS service.EncodeException
- Filter If the object encoding process has an error, the exception is thrown.protected void createQueryByBBOXURL(WFSQueryParameter wfsQueryParameter, java.lang.StringBuffer result)
Creates a URI of the GetFeature operation through the bounds query.
wfsQueryParameter
- WFS feature query parameters.result
- The root directory of the WFS service.