|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractRequest
AbstractWMSRequest
AbstractGetFeatureInfoRequest
public abstract class AbstractGetFeatureInfoRequest
A base class for GetFeatureInfoRequests that provides some functionality.
| Field Summary |
|---|
| Fields inherited from class AbstractRequest |
|---|
EXCEPTION_XML, onlineResource, properties |
| Fields inherited from interface GetFeatureInfoRequest |
|---|
FEATURE_COUNT, INFO_FORMAT, QUERY_LAYERS, QUERY_X, QUERY_Y |
| Fields inherited from interface Request |
|---|
REQUEST, SERVICE, VERSION, WMTVER |
| Constructor Summary | |
|---|---|
AbstractGetFeatureInfoRequest(URL onlineResource,
GetMapRequest request)
Constructs a GetFeatureInfoRequest. |
|
| Method Summary | |
|---|---|
void |
addQueryLayer(Layer layer)
Add a Layer to the set of layers to be queried in the request. |
URL |
getFinalURL()
Once the properties of the request are configured, this will return the URL that points to the server and contains all of the appropriate name/value parameters. |
protected String |
getQueryX()
Created because the 1.3.0 spec changes this parameter name. |
protected String |
getQueryY()
Created because the 1.3.0 spec changes this parameter name. |
protected void |
initRequest()
|
protected abstract void |
initVersion()
Sets up the version number for this request. |
void |
setFeatureCount(int featureCount)
|
void |
setFeatureCount(String featureCount)
|
void |
setInfoFormat(String infoFormat)
Sets the INFO_FORMAT parameter, which specifies the format of the GetFeatureInfoResponse. |
void |
setQueryLayers(Set layers)
An unordered set of type Layer. |
void |
setQueryPoint(int x,
int y)
The point on the image (in pixels) to be queried. |
| Methods inherited from class AbstractWMSRequest |
|---|
initService |
| Methods inherited from class AbstractRequest |
|---|
getPostContentType, getProperties, performPostOutput, processKey, requiresPost, setProperty |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Request |
|---|
createResponse, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty |
| Constructor Detail |
|---|
public AbstractGetFeatureInfoRequest(URL onlineResource,
GetMapRequest request)
onlineResource - the URL pointing to the place to execute a GetFeatureInfo requestrequest - a previously configured GetMapRequest that the query will be executed on| Method Detail |
|---|
public URL getFinalURL()
Request
getFinalURL in interface RequestgetFinalURL in class AbstractRequestorg.geotools.data.wms.request.Request#getFinalURL()public void addQueryLayer(Layer layer)
GetFeatureInfoRequest
addQueryLayer in interface GetFeatureInfoRequestlayer - a queryable LayerGetFeatureInfoRequest.addQueryLayer(org.geotools.data.ows.Layer)public void setQueryLayers(Set layers)
GetFeatureInfoRequest
setQueryLayers in interface GetFeatureInfoRequestlayers - A Set of type Layer, each to be queriedGetFeatureInfoRequest.setQueryLayers(java.util.Set)public void setInfoFormat(String infoFormat)
GetFeatureInfoRequest
setInfoFormat in interface GetFeatureInfoRequestinfoFormat - a value from getInfoFormats()GetFeatureInfoRequest.setInfoFormat(java.lang.String)public void setFeatureCount(String featureCount)
setFeatureCount in interface GetFeatureInfoRequestfeatureCount - the maximum number of features to return in the responseGetFeatureInfoRequest.setFeatureCount(java.lang.String)public void setFeatureCount(int featureCount)
setFeatureCount in interface GetFeatureInfoRequestfeatureCount - the maximum number of features to return in the responseGetFeatureInfoRequest.setFeatureCount(int)
public void setQueryPoint(int x,
int y)
GetFeatureInfoRequest
setQueryPoint in interface GetFeatureInfoRequestx - the x point, in pixelsy - the y point, in pixelsGetFeatureInfoRequest.setQueryPoint(int, int)protected String getQueryX()
protected String getQueryY()
protected void initRequest()
initRequest in class AbstractRequestprotected abstract void initVersion()
AbstractRequest
initVersion in class AbstractRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||