namedidentifier.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 878 行 · 第 1/3 页

HTML
878
字号
<CODE>&nbsp;GenericName</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getScope()">getScope</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Replaced by <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#scope()"><CODE>scope()</CODE></A>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/referencing/NamedIdentifier.html#getVersion()">getVersion</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Identifier of the version of the associated code space or code, as specified by the code authority. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/referencing/NamedIdentifier.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hash code value for this identifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;LocalName</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/referencing/NamedIdentifier.html#name()">name</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last element in the sequence of <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getParsedNames()">parsed names</A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;ScopedName</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/referencing/NamedIdentifier.html#push(org.opengis.util.GenericName)">push</A></B>(GenericName&nbsp;scope)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this name expanded with the specified scope. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;NameSpace</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/referencing/NamedIdentifier.html#scope()">scope</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the scope (name space) in which this name is local.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;GenericName</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/referencing/NamedIdentifier.html#toFullyQualifiedName()">toFullyQualifiedName</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a view of this name as a fully-qualified name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;InternationalString</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/referencing/NamedIdentifier.html#toInternationalString()">toInternationalString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a local-dependent string representation of this generic name. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/referencing/NamedIdentifier.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this generic name. </TD></TR></TABLE>&nbsp;<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#clone()" title="class or interface in java.lang">clone</A>, <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>&nbsp;<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="NamedIdentifier(java.util.Map)"><!-- --></A><H3>NamedIdentifier</H3><PRE>public <B>NamedIdentifier</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;properties)                throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Constructs an identifier from a set of properties. Keys are strings from the table below. Key are case-insensitive, and leading and trailing spaces are ignored. The map given in argument shall contains at least a <code>"code"</code> property. Other properties listed in the table below are optional. <p> <table border='1'>   <tr bgcolor="#CCCCFF" class="TableHeadingColor">     <th nowrap>Property name</th>     <th nowrap>Value type</th>     <th nowrap>Value given to</th>   </tr>   <tr>     <td nowrap>&nbsp;<CODE>"code"</CODE>&nbsp;</td>     <td nowrap>&nbsp;<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>&nbsp;</td>     <td nowrap>&nbsp;<A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getCode()"><CODE>getCode()</CODE></A></td>   </tr>   <tr>     <td nowrap>&nbsp;<CODE>"authority"</CODE>&nbsp;</td>     <td nowrap>&nbsp;<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> or <CODE>Citation</CODE>&nbsp;</td>     <td nowrap>&nbsp;<A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getAuthority()"><CODE>getAuthority()</CODE></A></td>   </tr>   <tr>     <td nowrap>&nbsp;<CODE>"version"</CODE>&nbsp;</td>     <td nowrap>&nbsp;<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>&nbsp;</td>     <td nowrap>&nbsp;<A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getVersion()"><CODE>getVersion()</CODE></A></td>   </tr>   <tr>     <td nowrap>&nbsp;<CODE>"remarks"</CODE>&nbsp;</td>     <td nowrap>&nbsp;<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> or <CODE>InternationalString</CODE>&nbsp;</td>     <td nowrap>&nbsp;<A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getRemarks()"><CODE>getRemarks()</CODE></A></td>   </tr> </table> <P><code>"remarks"</code> is a localizable attributes which may have a language and country code suffix. For example the <code>"remarks_fr"</code> property stands for remarks in <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html#FRENCH" title="class or interface in java.util">French</A> and the <code>"remarks_fr_CA"</code> property stands for remarks in <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html#CANADA_FRENCH" title="class or interface in java.util">French Canadian</A>.</P><P><DT><B>Throws:</B><DD><CODE>InvalidParameterValueException</CODE> - if a property has an invalid value.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if a property is invalid for some other reason.</DL><HR><A NAME="NamedIdentifier(org.opengis.metadata.citation.Citation, org.opengis.util.InternationalString)"><!-- --></A><H3>NamedIdentifier</H3><PRE>public <B>NamedIdentifier</B>(Citation&nbsp;authority,                       InternationalString&nbsp;code)</PRE><DL><DD>Constructs an identifier from an authority and code informations. This is a convenience constructor for commonly-used parameters. If more control are wanted (for example adding remarks), use the <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#NamedIdentifier(java.util.Map)">constructor with a properties map</A>.<P><DT><B>Parameters:</B><DD><CODE>authority</CODE> - The authority (e.g. <A HREF="../../../org/geotools/metadata/iso/citation/Citations.html#OGC"><CODE>OGC</CODE></A> or <A HREF="../../../org/geotools/metadata/iso/citation/Citations.html#EPSG"><CODE>EPSG</CODE></A>).<DD><CODE>code</CODE> - The code. The <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html#US" title="class or interface in java.util">English name</A> is used                  for the code, and the international string is used for the                  generic name.</DL><HR><A NAME="NamedIdentifier(org.opengis.metadata.citation.Citation, java.lang.String)"><!-- --></A><H3>NamedIdentifier</H3><PRE>public <B>NamedIdentifier</B>(Citation&nbsp;authority,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;code)</PRE><DL><DD>Constructs an identifier from an authority and code informations. This is a convenience constructor for commonly-used parameters. If more control are wanted (for example adding remarks), use the <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#NamedIdentifier(java.util.Map)">constructor with a properties map</A>.<P><DT><B>Parameters:</B><DD><CODE>authority</CODE> - The authority (e.g. <A HREF="../../../org/geotools/metadata/iso/citation/Citations.html#OGC"><CODE>OGC</CODE></A> or <A HREF="../../../org/geotools/metadata/iso/citation/Citations.html#EPSG"><CODE>EPSG</CODE></A>).<DD><CODE>code</CODE> - The code. This parameter is mandatory.</DL><HR><A NAME="NamedIdentifier(org.opengis.metadata.citation.Citation, java.lang.String, java.lang.String)"><!-- --></A><H3>NamedIdentifier</H3><PRE>public <B>NamedIdentifier</B>(Citation&nbsp;authority,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;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>&nbsp;version)</PRE><DL><DD>Constructs an identifier from an authority and code informations. This is a convenience constructor for commonly-used parameters. If more control are wanted (for example adding remarks), use the <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#NamedIdentifier(java.util.Map)">constructor with a properties map</A>.<P><DT><B>Parameters:</B><DD><CODE>authority</CODE> - The authority (e.g. <A HREF="../../../org/geotools/metadata/iso/citation/Citations.html#OGC"><CODE>OGC</CODE></A> or <A HREF="../../../org/geotools/metadata/iso/citation/Citations.html#EPSG"><CODE>EPSG</CODE></A>).<DD><CODE>code</CODE> - The code. This parameter is mandatory.<DD><CODE>version</CODE> - The version, or  if none.</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="getCode()"><!-- --></A><H3>getCode</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>getCode</B>()</PRE><DL><DD>Identifier code or name, optionally from a controlled list or pattern.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getCode</CODE> in interface <CODE>Identifier</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The code.</DL></DD></DL><HR><A NAME="getAuthority()"><!-- --></A><H3>getAuthority</H3><PRE>public Citation <B>getAuthority</B>()</PRE><DL><DD>Organization or party responsible for definition and maintenance of the <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getCode()">code</A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getAuthority</CODE> in interface <CODE>Identifier</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The authority, or  if not available.</DL></DD></DL><HR><A NAME="getVersion()"><!-- --></A><H3>getVersion</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>getVersion</B>()</PRE><DL><DD>Identifier of the version of the associated code space or code, as specified by the code authority. This version is included only when the <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getCode()">code</A> uses versions. When appropriate, the edition is identified by the effective date, coded using ISO 8601 date format.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getVersion</CODE> in interface <CODE>Identifier</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The version, or  if not available.</DL></DD></DL><HR><A NAME="getRemarks()"><!-- --></A><H3>getRemarks</H3><PRE>public InternationalString <B>getRemarks</B>()</PRE><DL><DD>Comments on or information about this identifier, or  if none.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="name()"><!-- --></A><H3>name</H3><PRE>public LocalName <B>name</B>()</PRE><DL><DD>Returns the last element in the sequence of <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#getParsedNames()">parsed names</A>.<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></DL></DD></DL><HR><A NAME="asLocalName()"><!-- --></A><H3>asLocalName</H3><PRE>public LocalName <B>asLocalName</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Replaced by <A HREF="../../../org/geotools/referencing/NamedIdentifier.html#name()"><CODE>name()</CODE></A>.</I>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?