📄 abstractgetmaprequest.html
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - <DD><CODE>height</CODE> - </DL></DD></DL><HR><A NAME="setTransparent(boolean)"><!-- --></A><H3>setTransparent</H3><PRE>public void <B>setTransparent</B>(boolean transparent)</PRE><DL><DD>From the Web Map Service Implementation Specification: "The optional TRANSPARENT parameter specifies whether the map background is to be made transparent or not. The default value is false if the parameter is absent from the request."<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setTransparent(boolean)">setTransparent</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>transparent</CODE> - true for transparency, false otherwise</DL></DD></DL><HR><A NAME="setBGColour(java.lang.String)"><!-- --></A><H3>setBGColour</H3><PRE>public void <B>setBGColour</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> bgColour)</PRE><DL><DD>Specifies the colour, in hexidecimal format, to be used as the background of the map. It is a String representing RGB values in hexidecimal format, prefixed by "0x". The format is: 0xRRGGBB. The default value is 0xFFFFFF (white)<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setBGColour(java.lang.String)">setBGColour</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bgColour</CODE> - the background colour of the map, in the format 0xRRGGBB</DL></DD></DL><HR><A NAME="setExceptions(java.lang.String)"><!-- --></A><H3>setExceptions</H3><PRE>public void <B>setExceptions</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> exceptions)</PRE><DL><DD>The exceptions type specifies what format the server should return exceptions in. <p> Valid values are: <ul> <li> "application/vnd.ogc.se_xml" (the default) </li> <li> "application/vnd.ogc.se_inimage" </li> <li> "application/vnd.ogc.se_blank" </li> </ul> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setExceptions(java.lang.String)">setExceptions</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>exceptions</CODE> - </DL></DD></DL><HR><A NAME="setTime(java.lang.String)"><!-- --></A><H3>setTime</H3><PRE>public void <B>setTime</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> time)</PRE><DL><DD>See the Web Map Server Implementation Specification 1.1.1, Annexes B and C<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setTime(java.lang.String)">setTime</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - See the Web Map Server Implementation Specification 1.1.1, Annexes B and C</DL></DD></DL><HR><A NAME="setElevation(java.lang.String)"><!-- --></A><H3>setElevation</H3><PRE>public void <B>setElevation</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> elevation)</PRE><DL><DD>See the Web Map Server Implementation Specification 1.1.1, Annex C, in particular section C.4<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setElevation(java.lang.String)">setElevation</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>elevation</CODE> - See the Web Map Server Implementation Specification 1.1.1, Annex C</DL></DD></DL><HR><A NAME="setSampleDimensionValue(java.lang.String, java.lang.String)"><!-- --></A><H3>setSampleDimensionValue</H3><PRE>public void <B>setSampleDimensionValue</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> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</PRE><DL><DD>See the Web Map Server Implementation Specification 1.1.1, Annex C, in particular section C.4.2 <p> Example use: <code>request.setSampleDimensionValue("DIM_WAVELENGTH", "4000");</code> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setSampleDimensionValue(java.lang.String, java.lang.String)">setSampleDimensionValue</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the request parameter name to set (usually with 'dim_' as prefix)<DD><CODE>value</CODE> - the value of the request parameter (value, interval or comma-separated list)</DL></DD></DL><HR><A NAME="setVendorSpecificParameter(java.lang.String, java.lang.String)"><!-- --></A><H3>setVendorSpecificParameter</H3><PRE>public void <B>setVendorSpecificParameter</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> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</PRE><DL><DD>Used to implement vendor specific parameters. Entirely optional.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setVendorSpecificParameter(java.lang.String, java.lang.String)">setVendorSpecificParameter</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a request parameter name<DD><CODE>value</CODE> - a value to accompany the name</DL></DD></DL><HR><A NAME="setDimensions(int, int)"><!-- --></A><H3>setDimensions</H3><PRE>public void <B>setDimensions</B>(int width, int height)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setDimensions(int, int)">setDimensions</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setProperties(java.util.Properties)"><!-- --></A><H3>setProperties</H3><PRE>public void <B>setProperties</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html" title="class or interface in java.util">Properties</A> p)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></B></DD><DD>create a request using a properties file to save time<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setProperties(java.util.Properties)">setProperties</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractGetMapRequest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/geotools/data/wms/request/AbstractGetLegendGraphicRequest.html" title="class in org.geotools.data.wms.request"><B>PREV CLASS</B></A> <A HREF="../../../../../org/geotools/data/wms/request/AbstractGetStylesRequest.html" title="class in org.geotools.data.wms.request"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="AbstractGetMapRequest.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_AbstractRequest">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -