📄 parameter.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/parameter/Parameter.html#equals(java.lang.Object)">equals</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> object)</CODE><BR> Compares the specified object with this parameter for equality.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/parameter/Parameter.html#getUnit()">getUnit</A></B>()</CODE><BR> Returns the unit of measure of the <A HREF="../../../org/geotools/parameter/Parameter.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/parameter/Parameter.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/parameter/Parameter.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns a hash value for this parameter.</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/parameter/Parameter.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/parameter/Parameter.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/parameter/Parameter.html#setValue(boolean)">setValue</A></B>(boolean value)</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/parameter/Parameter.html#setValue(double)">setValue</A></B>(double value)</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/parameter/Parameter.html#setValue(double[], javax.units.Unit)">setValue</A></B>(double[] values, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</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/parameter/Parameter.html#setValue(double, javax.units.Unit)">setValue</A></B>(double value, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</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/parameter/Parameter.html#setValue(int)">setValue</A></B>(int value)</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/parameter/Parameter.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> value)</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/parameter/Parameter.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/parameter/Parameter.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_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#clone()">clone</A>, <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_ParameterValue"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface ParameterValue</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone</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="Parameter(java.lang.String, int)"><!-- --></A><H3>Parameter</H3><PRE>public <B>Parameter</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, int value)</PRE><DL><DD>Constructs a parameter from the specified name and value. This convenience constructor creates a <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html" title="class in org.geotools.parameter"><CODE>DefaultParameterDescriptor</CODE></A> object. But if such an object was available, then the preferred way to get a is to invokes <CODE>GeneralParameterDescriptor.createValue()</CODE>.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - The parameter name.<DD><CODE>value</CODE> - The parameter value.</DL><HR><A NAME="Parameter(java.lang.String, double, javax.units.Unit)"><!-- --></A><H3>Parameter</H3><PRE>public <B>Parameter</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, double value, <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> unit)</PRE><DL><DD>Constructs a parameter from the specified name and value. This convenience constructor creates a <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html" title="class in org.geotools.parameter"><CODE>DefaultParameterDescriptor</CODE></A> object. But if such an object was available, then the preferred way to get a is to invokes <CODE>GeneralParameterDescriptor.createValue()</CODE>.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - The parameter name.<DD><CODE>value</CODE> - The parameter value.<DD><CODE>unit</CODE> - The unit for the parameter value.</DL><HR><A NAME="Parameter(java.lang.String, org.opengis.util.CodeList)"><!-- --></A><H3>Parameter</H3><PRE>public <B>Parameter</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, CodeList value)</PRE><DL><DD>Constructs a parameter from the specified enumeration. This convenience constructor creates a <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html" title="class in org.geotools.parameter"><CODE>DefaultParameterDescriptor</CODE></A> object. But if such an object was available, then the preferred way to get a is to invokes <CODE>GeneralParameterDescriptor.createValue()</CODE>.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - The parameter name.<DD><CODE>value</CODE> - The parameter value.</DL><HR><A NAME="Parameter(org.opengis.parameter.ParameterDescriptor)"><!-- --></A><H3>Parameter</H3><PRE>public <B>Parameter</B>(ParameterDescriptor descriptor)</PRE><DL><DD>Constructs a parameter value from the specified descriptor. The value will be initialized to the default value, if any.<P><DT><B>Parameters:</B><DD><CODE>descriptor</CODE> - The abstract definition of this parameter.</DL><HR><A NAME="Parameter(org.opengis.parameter.ParameterDescriptor, java.lang.Object)"><!-- --></A><H3>Parameter</H3><PRE>public <B>Parameter</B>(ParameterDescriptor descriptor, <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) throws InvalidParameterValueException</PRE><DL><DD>Constructs a parameter value from the specified descriptor and value.<P><DT><B>Parameters:</B><DD><CODE>descriptor</CODE> - The abstract definition of this parameter.<DD><CODE>value</CODE> - The parameter value.<DT><B>Throws:</B><DD><CODE>InvalidParameterValueException</CODE> - if the type of is inappropriate for this parameter, or if the value is illegal for some other reason (for example the value is numeric and out of range).</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -