📄 wmsparametervalue.html
字号:
Returns the unit of measure of the <A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#doubleValue()">parameter value</A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#getValue()">getValue</A></B>()</CODE><BR> Returns the parameter value as an object. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#intValue()">intValue</A></B>()</CODE><BR> Returns the positive integer value of an operation parameter, usually used for a count. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#intValueList()">intValueList</A></B>()</CODE><BR> Returns an ordered sequence of two or more integer values of an operation parameter list, usually used for counts. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#setValue(boolean)">setValue</A></B>(boolean arg0)</CODE><BR> Set the parameter value as a boolean.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#setValue(double)">setValue</A></B>(double arg0)</CODE><BR> Set the parameter value as a floating point. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#setValue(double[], javax.units.Unit)">setValue</A></B>(double[] arg0, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> arg1)</CODE><BR> Set the parameter value as an array of floating point and their associated unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#setValue(double, javax.units.Unit)">setValue</A></B>(double arg0, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> arg1)</CODE><BR> Set the parameter value as a floating point and its associated unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#setValue(int)">setValue</A></B>(int arg0)</CODE><BR> Set the parameter value as an integer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#setValue(java.lang.Object)">setValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> arg0)</CODE><BR> Set the parameter value as an object. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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/gce/WMSParameterValue.html#stringValue()">stringValue</A></B>()</CODE><BR> Returns the string value of an operation parameter. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/gce/WMSParameterValue.html#valueFile()">valueFile</A></B>()</CODE><BR> Returns a reference to a file or a part of a file containing one or more parameter values. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_Parameter"><!-- --></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/parameter/Parameter.html" title="class in org.geotools.parameter">Parameter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/parameter/Parameter.html#ensureValidValue(org.opengis.parameter.ParameterDescriptor, java.lang.Object)">ensureValidValue</A>, <A HREF="../../../../../org/geotools/parameter/Parameter.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../org/geotools/parameter/Parameter.html#hashCode()">hashCode</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractParameter"><!-- --></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/parameter/AbstractParameter.html" title="class in org.geotools.parameter">AbstractParameter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/parameter/AbstractParameter.html#formatWKT(org.geotools.referencing.wkt.Formatter)">formatWKT</A>, <A HREF="../../../../../org/geotools/parameter/AbstractParameter.html#getDescriptor()">getDescriptor</A>, <A HREF="../../../../../org/geotools/parameter/AbstractParameter.html#toString()">toString</A>, <A HREF="../../../../../org/geotools/parameter/AbstractParameter.html#write(org.geotools.io.TableWriter)">write</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Formattable"><!-- --></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/referencing/wkt/Formattable.html" title="class in org.geotools.referencing.wkt">Formattable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/referencing/wkt/Formattable.html#toWKT()">toWKT</A>, <A HREF="../../../../../org/geotools/referencing/wkt/Formattable.html#toWKT(org.opengis.metadata.citation.Citation, int)">toWKT</A>, <A HREF="../../../../../org/geotools/referencing/wkt/Formattable.html#toWKT(int)">toWKT</A></CODE></TD></TR></TABLE> <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#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#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#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> <A NAME="methods_inherited_from_class_GeneralParameterValue"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface GeneralParameterValue</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getDescriptor</CODE></TD></TR></TABLE> <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="WMSParameterValue(java.lang.Object, org.geotools.parameter.DefaultParameterDescriptor)"><!-- --></A><H3>WMSParameterValue</H3><PRE>public <B>WMSParameterValue</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value, <A HREF="../../../../../org/geotools/parameter/DefaultParameterDescriptor.html" title="class in org.geotools.parameter">DefaultParameterDescriptor</A> descriptor)</PRE><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - <DD><CODE>descriptor</CODE> - </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="getUnit()"><!-- --></A><H3>getUnit</H3><PRE>public <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> <B>getUnit</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/geotools/parameter/Parameter.html" title="class in org.geotools.parameter">Parameter</A></CODE></B></DD><DD>Returns the unit of measure of the <A HREF="../../../../../org/geotools/parameter/Parameter.html#doubleValue()">parameter value</A>. If the parameter value has no unit (for example because it is a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> type), then this method returns . Note that "no unit" doesn't means "dimensionless".<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getUnit</CODE> in interface <CODE>ParameterValue</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/parameter/Parameter.html#getUnit()">getUnit</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/parameter/Parameter.html" title="class in org.geotools.parameter">Parameter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The unit of measure, or if none.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/parameter/Parameter.html#doubleValue()"><CODE>Parameter.doubleValue()</CODE></A>, <A HREF="../../../../../org/geotools/parameter/Parameter.html#doubleValueList()"><CODE>Parameter.doubleValueList()</CODE></A>, <A HREF="../../../../../org/geotools/parameter/Parameter.html#getValue()"><CODE>Parameter.getValue()</CODE></A></DL></DD></DL><HR><A NAME="doubleValue(javax.units.Unit)"><!-- --></A><H3>doubleValue</H3><PRE>public double <B>doubleValue</B>(<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> arg0) throws InvalidParameterTypeException</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/geotools/parameter/Parameter.html" title="class in org.geotools.parameter">Parameter</A></CODE></B></DD><DD>Returns the numeric value of the coordinate operation parameter in the specified unit of measure. This convenience method apply unit conversion on the fly as needed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>doubleValue</CODE> in interface <CODE>ParameterValue</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/parameter/Parameter.html#doubleValue(javax.units.Unit)">doubleValue</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/parameter/Parameter.html" title="class in org.geotools.parameter">Parameter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>arg0</CODE> - The unit of measure for the value to be returned.<DT><B>Returns:</B><DD>The numeric value represented by this parameter after conversion to type
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -