genericname.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 575 行 · 第 1/2 页
HTML
575 行
<A NAME="DEFAULT_SEPARATOR"><!-- --></A><H3>DEFAULT_SEPARATOR</H3><PRE>public static final char <B>DEFAULT_SEPARATOR</B></PRE><DL><DD>The default separator character.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.geotools.util.GenericName.DEFAULT_SEPARATOR">Constant Field Values</A></DL></DL><!-- ========= 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="GenericName()"><!-- --></A><H3>GenericName</H3><PRE>protected <B>GenericName</B>()</PRE><DL><DD>Creates a new instance of generic name.<P></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="scope()"><!-- --></A><H3>scope</H3><PRE>public abstract NameSpace <B>scope</B>()</PRE><DL><DD>Returns the scope (name space) in which this name is local. The scope is set on creation and is not modifiable. The scope of a name determines where a name "starts". For instance, if a name has a <A HREF="../../../org/geotools/util/GenericName.html#depth()">depth</A> of two () and is associated with a name space having the name , then the fully qualified name would be .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>scope</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL><DT><B>Since:</B></DT> <DD>2.3</DD></DL></DD></DL><HR><A NAME="depth()"><!-- --></A><H3>depth</H3><PRE>public abstract int <B>depth</B>()</PRE><DL><DD>Returns the depth of this name within the namespace hierarchy. This indicates the number of levels specified by this name. For any <A HREF="../../../org/geotools/util/LocalName.html" title="class in org.geotools.util"><CODE>LocalName</CODE></A>, it is always one. For a <A HREF="../../../org/geotools/util/ScopedName.html" title="class in org.geotools.util"><CODE>ScopedName</CODE></A> it is some number greater than or equal to 2. <p> The depth is the length of the list returned by the <A HREF="../../../org/geotools/util/GenericName.html#getParsedNames()"><CODE>getParsedNames()</CODE></A> method. As such it is a derived parameter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>depth</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL><DT><B>Since:</B></DT> <DD>2.3</DD></DL></DD></DL><HR><A NAME="getParsedNames()"><!-- --></A><H3>getParsedNames</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getParsedNames</B>()</PRE><DL><DD>Returns the sequence of <A HREF="../../../org/geotools/util/LocalName.html" title="class in org.geotools.util">local names</A> making this generic name. Each element in this list is like a directory name in a file path name. The length of this sequence is the generic name depth.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getParsedNames</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="name()"><!-- --></A><H3>name</H3><PRE>public abstract LocalName <B>name</B>()</PRE><DL><DD>Returns the last element in the sequence of <A HREF="../../../org/geotools/util/GenericName.html#getParsedNames()">parsed names</A>. For any <A HREF="../../../org/geotools/util/LocalName.html" title="class in org.geotools.util"><CODE>LocalName</CODE></A>, this is always .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>name</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL><DT><B>Since:</B></DT> <DD>2.3</DD><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/util/LocalName.html#name()"><CODE>LocalName.name()</CODE></A>, <A HREF="../../../org/geotools/util/ScopedName.html#name()"><CODE>ScopedName.name()</CODE></A></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <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 generic name. This string representation is local-independant. It contains all elements listed by <A HREF="../../../org/geotools/util/GenericName.html#getParsedNames()"><CODE>getParsedNames()</CODE></A> separated by an arbitrary character (usually or ). This rule implies that the method for a <A HREF="../../../org/geotools/util/ScopedName.html" title="class in org.geotools.util">scoped name</A> will contains the scope, while the method for the <A HREF="../../../org/geotools/util/LocalName.html" title="class in org.geotools.util">local version</A> of the same name will not contains the scope.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>toString</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toInternationalString()"><!-- --></A><H3>toInternationalString</H3><PRE>public InternationalString <B>toInternationalString</B>()</PRE><DL><DD>Returns a local-dependent string representation of this generic name. This string is similar to the one returned by <A HREF="../../../org/geotools/util/GenericName.html#toString()"><CODE>toString()</CODE></A> except that each element has been localized in the specified locale. If no international string is available, then this method should returns an implementation mapping to <A HREF="../../../org/geotools/util/GenericName.html#toString()"><CODE>toString()</CODE></A> for all locales.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>toInternationalString</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>compareTo</H3><PRE>public int <B>compareTo</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 this name with the specified object for order. Returns a negative integer, zero, or a positive integer as this name lexicographically precedes, is equals to, or follows the specified object. The comparaison is performed in the following order: <ul> <li>Compares each element in the <A HREF="../../../org/geotools/util/GenericName.html#getParsedNames()">list of parsed names</A>. If an element of this name lexicographically precedes or follows the corresponding element of the specified name, returns a negative or a positive integer respectively.</li> <li>If all elements in both names are lexicographically equal, then if this name has less or more elements than the specified name, returns a negative or a positive integer respectively.</li> <li>Otherwise, returns 0.</li> </ul><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html#compareTo(java.lang.Object)" title="class or interface in java.lang">compareTo</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A></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 this generic name with the specified object for equality.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code value for this generic name.<P><DD><DL></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/GenericName.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/util/DisjointSet.html" title="class in org.geotools.util"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/util/GrowableInternationalString.html" title="class in org.geotools.util"><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="GenericName.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 + =
减小字号Ctrl + -
显示快捷键?