📄 abstractparameter.html
字号:
<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="AbstractParameter(org.opengis.parameter.GeneralParameterDescriptor)"><!-- --></A><H3>AbstractParameter</H3><PRE>protected <B>AbstractParameter</B>(GeneralParameterDescriptor descriptor)</PRE><DL><DD>Constructs a parameter value from the specified descriptor.<P><DT><B>Parameters:</B><DD><CODE>descriptor</CODE> - The abstract definition of this parameter or group of parameters.</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="getDescriptor()"><!-- --></A><H3>getDescriptor</H3><PRE>public GeneralParameterDescriptor <B>getDescriptor</B>()</PRE><DL><DD>Returns the abstract definition of this parameter or group of parameters.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getDescriptor</CODE> in interface <CODE>GeneralParameterValue</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</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>clone</B>()</PRE><DL><DD>Returns a copy of this parameter value or group.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>GeneralParameterValue</CODE></DL></DD><DD><DL></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> object)</PRE><DL><DD>Compares the specified object with this parameter for equality.<P><DD><DL></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. This value doesn't need to be the same in past or future versions of this class.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string representation of this parameter. The default implementation delegates the work to <A HREF="../../../org/geotools/parameter/AbstractParameter.html#write(org.geotools.io.TableWriter)"><CODE>write(org.geotools.io.TableWriter)</CODE></A>, which should be overriden by subclasses.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/referencing/wkt/Formattable.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../org/geotools/referencing/wkt/Formattable.html" title="class in org.geotools.referencing.wkt">Formattable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="write(org.geotools.io.TableWriter)"><!-- --></A><H3>write</H3><PRE>protected void <B>write</B>(<A HREF="../../../org/geotools/io/TableWriter.html" title="class in org.geotools.io">TableWriter</A> table) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Write the content of this parameter to the specified table. This method make it easier to align values properly than overriding the <A HREF="../../../org/geotools/parameter/AbstractParameter.html#toString()"><CODE>toString()</CODE></A> method. The table's columns are defined as below: <ol> <li>The parameter name</li> <li>The separator</li> <li>The parameter value</li> </ol> <P>The default implementation is suitable for most cases. However, subclasses are free to override this method with the following idiom:</P> <blockquote><pre> table.<A HREF="../../../org/geotools/io/TableWriter.html#write(java.lang.String)">write</A>("<var>parameter name</var>"); table.<A HREF="../../../org/geotools/io/TableWriter.html#nextColumn()">nextColumn</A>() table.<A HREF="../../../org/geotools/io/TableWriter.html#write(java.lang.String)">write</A>('='); table.<A HREF="../../../org/geotools/io/TableWriter.html#nextColumn()">nextColumn</A>() table.<A HREF="../../../org/geotools/io/TableWriter.html#write(java.lang.String)">write</A>("<var>parameter value</var>"); table.<A HREF="../../../org/geotools/io/TableWriter.html#nextLine()">nextLine</A>() </pre></blockquote><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>table</CODE> - The table where to format the parameter value.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an error occurs during output operation.</DL></DD></DL><HR><A NAME="formatWKT(org.geotools.referencing.wkt.Formatter)"><!-- --></A><H3>formatWKT</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>formatWKT</B>(<A HREF="../../../org/geotools/referencing/wkt/Formatter.html" title="class in org.geotools.referencing.wkt">Formatter</A> formatter)</PRE><DL><DD>Format the inner part of this parameter as <A HREF="http://geoapi.sourceforge.net/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html"><cite>Well Known Text</cite> (WKT)</A>. This method doesn't need to be overriden, since the formatter already know how to <A HREF="../../../org/geotools/referencing/wkt/Formatter.html#append(org.opengis.parameter.GeneralParameterValue)">format parameters</A>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/referencing/wkt/Formattable.html#formatWKT(org.geotools.referencing.wkt.Formatter)">formatWKT</A></CODE> in class <CODE><A HREF="../../../org/geotools/referencing/wkt/Formattable.html" title="class in org.geotools.referencing.wkt">Formattable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>formatter</CODE> - The formatter to use.<DT><B>Returns:</B><DD>The WKT element name (e.g. "GEOGCS").<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/referencing/wkt/Formattable.html#toWKT()"><CODE>Formattable.toWKT()</CODE></A>, <A HREF="../../../org/geotools/referencing/wkt/Formattable.html#toString()"><CODE>Formattable.toString()</CODE></A></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/AbstractParameter.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"> PREV CLASS <A HREF="../../../org/geotools/parameter/AbstractParameterDescriptor.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> <A HREF="AbstractParameter.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 | FIELD | <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 + -