|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.wms.request.AbstractRequest
org.geotools.data.wms.request.AbstractGetFeatureInfoRequest
A base class for GetFeatureInfoRequests that provides some functionality.
| Field Summary |
| Fields inherited from class org.geotools.data.wms.request.AbstractRequest |
EXCEPTION_XML, onlineResource, properties |
| Fields inherited from interface org.geotools.data.wms.request.GetFeatureInfoRequest |
FEATURE_COUNT, INFO_FORMAT, QUERY_LAYERS, QUERY_X, QUERY_Y |
| Fields inherited from interface org.geotools.data.wms.request.Request |
REQUEST, SERVICE, VERSION, WMTVER |
| Constructor Summary | |
AbstractGetFeatureInfoRequest(java.net.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. |
java.net.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 java.lang.String |
getQueryX()
Created because the 1.3.0 spec changes this parameter name. |
protected java.lang.String |
getQueryY()
Created because the 1.3.0 spec changes this parameter name. |
protected void |
initRequest()
|
protected abstract void |
initVersion()
|
void |
setFeatureCount(int featureCount)
|
void |
setFeatureCount(java.lang.String featureCount)
|
void |
setInfoFormat(java.lang.String infoFormat)
Sets the INFO_FORMAT parameter, which specifies the format of the GetFeatureInfoResponse. |
void |
setQueryLayers(java.util.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 org.geotools.data.wms.request.AbstractRequest |
getProperties, processKey, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.geotools.data.wms.request.Request |
getProperties, setProperty |
| Constructor Detail |
public AbstractGetFeatureInfoRequest(java.net.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 java.net.URL getFinalURL()
Request
getFinalURL in interface RequestgetFinalURL in class AbstractRequestRequest.getFinalURL()public void addQueryLayer(Layer layer)
GetFeatureInfoRequest
addQueryLayer in interface GetFeatureInfoRequestlayer - a queryable LayerGetFeatureInfoRequest.addQueryLayer(org.geotools.data.ows.Layer)public void setQueryLayers(java.util.Set layers)
GetFeatureInfoRequest
setQueryLayers in interface GetFeatureInfoRequestlayers - A Set of type Layer, each to be queriedGetFeatureInfoRequest.setQueryLayers(java.util.Set)public void setInfoFormat(java.lang.String infoFormat)
GetFeatureInfoRequest
setInfoFormat in interface GetFeatureInfoRequestinfoFormat - a value from getInfoFormats()GetFeatureInfoRequest.setInfoFormat(java.lang.String)public void setFeatureCount(java.lang.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 java.lang.String getQueryX()
protected java.lang.String getQueryY()
protected void initRequest()
protected abstract void initVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||