public abstract class AbstractFeatureTypeRequest extends AbstractDocumentGetRequest
The DescribeFeatureType request class for the WFS service.
Used to get the XML document obtained by executing the DescribeFeatureType request on the WFS service.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
version |
password, serviceURL, URL_CHARSET, userName| Constructor and Description |
|---|
AbstractFeatureTypeRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String psd, java.lang.String version)
Build the
AbstractFeatureTypeRequest object based on the WFS service address, user name, password, WFS service version number. |
| Modifier and Type | Method and Description |
|---|---|
abstract org.w3c.dom.Document |
getFeatureType(java.lang.String typeName)
Execute a DescribeFeatureType request against the target WFS service according to the feature name, and get the response XML document.
|
java.lang.String |
getVersion()
Gets the version number of the sent WFS service request.
|
appendKVP, appendKVP, getDocument
public AbstractFeatureTypeRequest(java.lang.String serviceURL,
java.lang.String userName,
java.lang.String psd,
java.lang.String version)
Build the AbstractFeatureTypeRequest object based on the WFS service address, user name, password, WFS service version number.
service - URL The URI root of the target WFS service.userName - username.psd - password.version - The version number of the WFS service request that was sent.public abstract org.w3c.dom.Document getFeatureType(java.lang.String typeName)
Execute a DescribeFeatureType request against the target WFS service according to the feature name, and get the response XML document.
typeName - The name of the feature type to get.public java.lang.String getVersion()
Gets the version number of the sent WFS service request.