|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GetFeatureInfoRequest
Information required for a GetFeatureInfo request.
Q: queryableLayers is a Set - is this true? Or is order important Q: infoFormats - what does this do? Do these match up with querableLayers? Or is it a list of formats our client is willing to understand?
| Field Summary | |
|---|---|
static String |
FEATURE_COUNT
Represents the FEATURE_COUNT parameter |
static String |
INFO_FORMAT
Represents the INFO_FORMAT parameter |
static String |
QUERY_LAYERS
Represents the QUERY_LAYERS parameter |
static String |
QUERY_X
Represents the X parameter |
static String |
QUERY_Y
Represents the Y parameter |
| Fields inherited from interface Request |
|---|
REQUEST, SERVICE, VERSION, WMTVER |
| Method Summary | |
|---|---|
void |
addQueryLayer(Layer layer)
Add a Layer to the set of layers to be queried in the 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 interface Request |
|---|
createResponse, getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty |
| Field Detail |
|---|
static final String INFO_FORMAT
static final String FEATURE_COUNT
static final String QUERY_X
static final String QUERY_Y
static final String QUERY_LAYERS
| Method Detail |
|---|
void setQueryLayers(Set layers)
layers - A Set of type Layer, each to be queriedvoid addQueryLayer(Layer layer)
layer - a queryable Layervoid setInfoFormat(String infoFormat)
infoFormat - a value from getInfoFormats()void setFeatureCount(String featureCount)
featureCount - the maximum number of features to return in the responsevoid setFeatureCount(int featureCount)
featureCount - the maximum number of features to return in the response
void setQueryPoint(int x,
int y)
x - the x point, in pixelsy - the y point, in pixels
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||