⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstractgetfeatureinforequest.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#getFinalURL()">getFinalURL</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#getQueryX()">getQueryX</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Created because the 1.3.0 spec changes this parameter name. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#getQueryY()">getQueryY</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Created because the 1.3.0 spec changes this parameter name. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#initRequest()">initRequest</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#initVersion()">initVersion</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets up the version number for this request. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#setFeatureCount(int)">setFeatureCount</A></B>(int&nbsp;featureCount)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#setFeatureCount(java.lang.String)">setFeatureCount</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;featureCount)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#setInfoFormat(java.lang.String)">setInfoFormat</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;infoFormat)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the INFO_FORMAT parameter, which specifies the format of the  GetFeatureInfoResponse. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#setQueryLayers(java.util.Set)">setQueryLayers</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A>&nbsp;layers)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An unordered set of type Layer. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/AbstractGetFeatureInfoRequest.html#setQueryPoint(int, int)">setQueryPoint</A></B>(int&nbsp;x,              int&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The point on the image (in pixels) to be queried. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_AbstractWMSRequest"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../../org/geotools/data/wms/request/AbstractWMSRequest.html" title="class in org.geotools.data.wms.request">AbstractWMSRequest</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/data/wms/request/AbstractWMSRequest.html#initService()">initService</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_AbstractRequest"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html" title="class in org.geotools.data.ows">AbstractRequest</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html#getPostContentType()">getPostContentType</A>, <A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html#getProperties()">getProperties</A>, <A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html#performPostOutput(java.io.OutputStream)">performPostOutput</A>, <A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html#processKey(java.lang.String)">processKey</A>, <A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html#requiresPost()">requiresPost</A>, <A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Request"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/data/ows/Request.html#createResponse(java.lang.String, java.io.InputStream)">createResponse</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#getPostContentType()">getPostContentType</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#getProperties()">getProperties</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#performPostOutput(java.io.OutputStream)">performPostOutput</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#requiresPost()">requiresPost</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="AbstractGetFeatureInfoRequest(java.net.URL, org.geotools.data.wms.request.GetMapRequest)"><!-- --></A><H3>AbstractGetFeatureInfoRequest</H3><PRE>public <B>AbstractGetFeatureInfoRequest</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A>&nbsp;onlineResource,                                     <A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A>&nbsp;request)</PRE><DL><DD>Constructs a GetFeatureInfoRequest. It will set the REQUEST and VERSION parameters, over-writing and values set there previously.<P><DT><B>Parameters:</B><DD><CODE>onlineResource</CODE> - the URL pointing to the place to execute a GetFeatureInfo request<DD><CODE>request</CODE> - a previously configured GetMapRequest that the query will be executed on</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getFinalURL()"><!-- --></A><H3>getFinalURL</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> <B>getFinalURL</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE></B></DD><DD>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.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/ows/Request.html#getFinalURL()">getFinalURL</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html#getFinalURL()">getFinalURL</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/ows/AbstractRequest.html" title="class in org.geotools.data.ows">AbstractRequest</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>org.geotools.data.wms.request.Request#getFinalURL()</CODE></DL></DD></DL><HR><A NAME="addQueryLayer(org.geotools.data.ows.Layer)"><!-- --></A><H3>addQueryLayer</H3><PRE>public void <B>addQueryLayer</B>(<A HREF="../../../../../org/geotools/data/ows/Layer.html" title="class in org.geotools.data.ows">Layer</A>&nbsp;layer)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetFeatureInfoRequest.html" title="interface in org.geotools.data.wms.request">GetFeatureInfoRequest</A></CODE></B></DD><DD>Add a Layer to the set of layers to be queried in the request. This Layer must have queryable set to true.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetFeatureInfoRequest.html#addQueryLayer(org.geotools.data.ows.Layer)">addQueryLayer</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetFeatureInfoRequest.html" title="interface in org.geotools.data.wms.request">GetFeatureInfoRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - a queryable Layer<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/wms/request/GetFeatureInfoRequest.html#addQueryLayer(org.geotools.data.ows.Layer)"><CODE>GetFeatureInfoRequest.addQueryLayer(org.geotools.data.ows.Layer)</CODE></A></DL></DD></DL><HR><A NAME="setQueryLayers(java.util.Set)"><!-- --></A><H3>setQueryLayers</H3><PRE>public void <B>setQueryLayers</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A>&nbsp;layers)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetFeatureInfoRequest.html" title="interface in org.geotools.data.wms.request">GetFeatureInfoRequest</A></CODE></B></DD><DD>An unordered set of type Layer. These are the layers that the  GetFeatureInfo request will be performed on.<P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -