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

📄 parameter.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DT><B>Throws:</B><DD><CODE>InvalidParameterTypeException</CODE> - if the value is not a reference to a file or an URI.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/parameter/Parameter.html#getValue()"><CODE>getValue()</CODE></A>, <A HREF="../../../org/geotools/parameter/Parameter.html#setValue(java.lang.Object)"><CODE>setValue(Object)</CODE></A></DL></DD></DL><HR><A NAME="getValue()"><!-- --></A><H3>getValue</H3><PRE>public <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>getValue</B>()</PRE><DL><DD>Returns the parameter value as an object. The object type is typically a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html" title="class or interface in java.lang"><CODE>Double</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></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>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net"><CODE>URI</CODE></A>,  or .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getValue</CODE> in interface <CODE>ParameterValue</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The parameter value as an object.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/parameter/Parameter.html#setValue(java.lang.Object)"><CODE>setValue(Object)</CODE></A></DL></DD></DL><HR><A NAME="setValue(double, javax.units.Unit)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(double&nbsp;value,                     <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A>&nbsp;unit)              throws InvalidParameterValueException</PRE><DL><DD>Set the parameter value as a floating point and its associated unit.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setValue</CODE> in interface <CODE>ParameterValue</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The parameter value.<DD><CODE>unit</CODE> - The unit for the specified value.<DT><B>Throws:</B><DD><CODE>InvalidParameterValueException</CODE> - if the floating point type is inappropriate for this         parameter, or if the value is illegal for some other reason (for example a value out         of range).<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/parameter/Parameter.html#setValue(double)"><CODE>setValue(double)</CODE></A>, <A HREF="../../../org/geotools/parameter/Parameter.html#doubleValue(javax.units.Unit)"><CODE>doubleValue(Unit)</CODE></A></DL></DD></DL><HR><A NAME="setValue(double)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(double&nbsp;value)              throws InvalidParameterValueException</PRE><DL><DD>Set the parameter value as a floating point. The unit, if any, stay unchanged.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setValue</CODE> in interface <CODE>ParameterValue</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The parameter value.<DT><B>Throws:</B><DD><CODE>InvalidParameterValueException</CODE> - if the floating point type is inappropriate for this         parameter, or if the value is illegal for some other reason (for example a value out         of range).<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/parameter/Parameter.html#setValue(double, javax.units.Unit)"><CODE>setValue(double,Unit)</CODE></A>, <A HREF="../../../org/geotools/parameter/Parameter.html#doubleValue()"><CODE>doubleValue()</CODE></A></DL></DD></DL><HR><A NAME="setValue(int)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(int&nbsp;value)              throws InvalidParameterValueException</PRE><DL><DD>Set the parameter value as an integer.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setValue</CODE> in interface <CODE>ParameterValue</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The parameter value.<DT><B>Throws:</B><DD><CODE>InvalidParameterValueException</CODE> - if the integer type is inappropriate for this parameter,         or if the value is illegal for some other reason (for example a value out of range).<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/parameter/Parameter.html#intValue()"><CODE>intValue()</CODE></A></DL></DD></DL><HR><A NAME="setValue(boolean)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(boolean&nbsp;value)              throws InvalidParameterValueException</PRE><DL><DD>Set the parameter value as a boolean.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setValue</CODE> in interface <CODE>ParameterValue</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The parameter value.<DT><B>Throws:</B><DD><CODE>InvalidParameterValueException</CODE> - if the boolean type is inappropriate for this parameter.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/parameter/Parameter.html#booleanValue()"><CODE>booleanValue()</CODE></A></DL></DD></DL><HR><A NAME="setValue(java.lang.Object)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</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>&nbsp;value)              throws InvalidParameterValueException</PRE><DL><DD>Set the parameter value as an object. The object type is typically a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html" title="class or interface in java.lang"><CODE>Double</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></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>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net"><CODE>URI</CODE></A>,  or .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setValue</CODE> in interface <CODE>ParameterValue</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><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).<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/parameter/Parameter.html#getValue()"><CODE>getValue()</CODE></A></DL></DD></DL><HR><A NAME="setValue(double[], javax.units.Unit)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(double[]&nbsp;values,                     <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A>&nbsp;unit)              throws InvalidParameterValueException</PRE><DL><DD>Set the parameter value as an array of floating point and their associated unit.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setValue</CODE> in interface <CODE>ParameterValue</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>values</CODE> - The parameter values.<DD><CODE>unit</CODE> - The unit for the specified value.<DT><B>Throws:</B><DD><CODE>InvalidParameterValueException</CODE> - if the floating point type is inappropriate for this         parameter, or if the value is illegal for some other reason (for example a value out         of range).</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</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>&nbsp;object)</PRE><DL><DD>Compares the specified object with this parameter for equality.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/parameter/AbstractParameter.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../org/geotools/parameter/AbstractParameter.html" title="class in org.geotools.parameter">AbstractParameter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - The object to compare to .<DT><B>Returns:</B><DD> if both objects are equal.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash value for this parameter.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/parameter/AbstractParameter.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../org/geotools/parameter/AbstractParameter.html" title="class in org.geotools.parameter">AbstractParameter</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The hash code value. This value doesn't need to be the same         in past or future versions of this class.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Parameter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/geotools/parameter/MatrixParameters.html" title="class in org.geotools.parameter"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/parameter/ParameterGroup.html" title="class in org.geotools.parameter"><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>  &nbsp;&nbsp;<A HREF="Parameter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -