|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 java.lang.String |
FEATURE_COUNT
Represents the FEATURE_COUNT parameter |
static java.lang.String |
INFO_FORMAT
Represents the INFO_FORMAT parameter |
static java.lang.String |
QUERY_LAYERS
Represents the QUERY_LAYERS parameter |
static java.lang.String |
QUERY_X
Represents the X parameter |
static java.lang.String |
QUERY_Y
Represents the Y parameter |
Fields inherited from interface org.geotools.data.wms.request.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(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 interface org.geotools.data.wms.request.Request |
getFinalURL, getProperties, setProperty |
Field Detail |
public static final java.lang.String INFO_FORMAT
public static final java.lang.String FEATURE_COUNT
public static final java.lang.String QUERY_X
public static final java.lang.String QUERY_Y
public static final java.lang.String QUERY_LAYERS
Method Detail |
public void setQueryLayers(java.util.Set layers)
layers
- A Set of type Layer, each to be queriedpublic void addQueryLayer(Layer layer)
layer
- a queryable Layerpublic void setInfoFormat(java.lang.String infoFormat)
infoFormat
- a value from getInfoFormats()public void setFeatureCount(java.lang.String featureCount)
featureCount
- the maximum number of features to return in the responsepublic void setFeatureCount(int featureCount)
featureCount
- the maximum number of features to return in the responsepublic 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 |