scopedname.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 787 行 · 第 1/3 页
HTML
787 行
</DL><HR><A NAME="getScope()"><!-- --></A><H3>getScope</H3><PRE>public GenericName <B>getScope</B>()</PRE><DL><DD><B>Deprecated.</B> <I>Replaced by <A HREF="../../../org/geotools/util/ScopedName.html#scope()"><CODE>scope()</CODE></A>.</I><P><DD>Returns the scope of this name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getScope</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="depth()"><!-- --></A><H3>depth</H3><PRE>public 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/ScopedName.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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/GenericName.html#depth()">depth</A></CODE> in class <CODE><A HREF="../../../org/geotools/util/GenericName.html" title="class in org.geotools.util">GenericName</A></CODE></DL></DD><DD><DL><DT><B>Since:</B></DT> <DD>2.3</DD></DL></DD></DL><HR><A NAME="getSeparator()"><!-- --></A><H3>getSeparator</H3><PRE>public char <B>getSeparator</B>()</PRE><DL><DD>Returns the separator character.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="asScopedName()"><!-- --></A><H3>asScopedName</H3><PRE>public ScopedName <B>asScopedName</B>()</PRE><DL><DD><B>Deprecated.</B> <I>Replaced by <A HREF="../../../org/geotools/util/ScopedName.html#toFullyQualifiedName()"><CODE>toFullyQualifiedName()</CODE></A>.</I><P><DD>Returns a view of this object as a scoped name. Since this object is already a scoped name, this method always returns .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>asScopedName</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="asLocalName()"><!-- --></A><H3>asLocalName</H3><PRE>public LocalName <B>asLocalName</B>()</PRE><DL><DD><B>Deprecated.</B> <I>Replaced by <A HREF="../../../org/geotools/util/ScopedName.html#name()"><CODE>name()</CODE></A>.</I><P><DD>Returns a view of this object as a local name. This is the last element in the sequence of <A HREF="../../../org/geotools/util/ScopedName.html#getParsedNames()">parsed names</A>. The local name returned by this method will still have the same <A HREF="../../../org/geotools/util/LocalName.html#getScope()">scope</A> than this scoped name. Note however that the string returned by <A HREF="../../../org/geotools/util/LocalName.html#toString()"><CODE>LocalName.toString()</CODE></A> will differs.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>asLocalName</CODE> in interface <CODE>GenericName</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getParsedNames()"><!-- --></A><H3>getParsedNames</H3><PRE>public <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 local name for this <A HREF="../../../org/geotools/util/GenericName.html" title="class in org.geotools.util">generic name</A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getParsedNames</CODE> in interface <CODE>GenericName</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/util/GenericName.html#getParsedNames()">getParsedNames</A></CODE> in class <CODE><A HREF="../../../org/geotools/util/GenericName.html" title="class in org.geotools.util">GenericName</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toFullyQualifiedName()"><!-- --></A><H3>toFullyQualifiedName</H3><PRE>public GenericName <B>toFullyQualifiedName</B>()</PRE><DL><DD>Returns a view of this name as a fully-qualified name. The <A HREF="../../../org/geotools/util/ScopedName.html#scope()">scope</A> of a fully qualified name must be global. This method never returns .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>toFullyQualifiedName</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="push(org.opengis.util.GenericName)"><!-- --></A><H3>push</H3><PRE>public ScopedName <B>push</B>(GenericName scope)</PRE><DL><DD>Returns this name expanded with the specified scope. One may represent this operation as a concatenation of the specified with . In pseudo-code, the following relationships must hold: <p> <ul> <li><code>push(<var>name</var>).getParsedList() == <var>name</var>.getParsedList().addAll(<A HREF="../../../org/geotools/util/ScopedName.html#getParsedNames()">getParsedNames()</A>)</code></li> <li><code>push(<var>name</var>).scope() == <var>name</var>.<A HREF="../../../org/geotools/util/ScopedName.html#scope()">scope()</A></code></li> <li><code>push(<A HREF="../../../org/geotools/util/ScopedName.html#head()">head()</A>).<A HREF="../../../org/geotools/util/ScopedName.html#tail()">tail()</A> == this</code></li> </ul> <p> <strong>Note:</strong> Those conditions can be understood in terms of the Java <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang"><CODE>equals</CODE></A> method instead of the Java identity comparator .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>push</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="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 scoped name with the specified object for equality.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/util/GenericName.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../org/geotools/util/GenericName.html" title="class in org.geotools.util">GenericName</A></CODE></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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/util/GenericName.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../org/geotools/util/GenericName.html" title="class in org.geotools.util">GenericName</A></CODE></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/ScopedName.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/ResourceInternationalString.html" title="class in org.geotools.util"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/util/SimpleInternationalString.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="ScopedName.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="#fields_inherited_from_class_GenericName">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: 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 + =
减小字号Ctrl + -
显示快捷键?