public abstract class AbstractCapabilitiesRequest extends AbstractDocumentGetRequest
GetCapabilities request class of WFS service.
Used to get the XML document obtained by executing the GetCapabilities request on the WFS service.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
version
The version number of the WFS service request that was sent.
|
password, serviceURL, URL_CHARSET, userName
Modifier | Constructor and Description |
---|---|
protected |
AbstractCapabilitiesRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password, java.lang.String version)
Build the AbstractCapabilitiesRequest object based on the WFS service address, user name, password, WFS service version number.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.StringBuffer |
getBaseURL()
Constructs the URI of the GetCapabilities request.
|
abstract org.w3c.dom.Document |
getCapabilities()
Execute a GetCapabilities request on the target WFS service to get the responsed XML document.
|
appendKVP, appendKVP, getDocument
protected java.lang.String version
The version number of the WFS service request that was sent.
protected AbstractCapabilitiesRequest(java.lang.String serviceURL, java.lang.String userName, java.lang.String password, java.lang.String version)
Build the AbstractCapabilitiesRequest 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.password
- password.version
- The version number of the WFS service request that was sent.public abstract org.w3c.dom.Document getCapabilities()
Execute a GetCapabilities request on the target WFS service to get the responsed XML document.
protected java.lang.StringBuffer getBaseURL()
Constructs the URI of the GetCapabilities request. Includes the SERVICE, REQUEST and VERSION parameter.