| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.4) on Fri Sep 20 12:10:30 CEST 2019 --> |
| <title>Citations (Apache SIS 1.0 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2019-09-20"> |
| <meta name="keywords" content="org.apache.sis.metadata.iso.citation.Citations class"> |
| <meta name="keywords" content="ISO_19115"> |
| <meta name="keywords" content="EPSG"> |
| <meta name="keywords" content="WMS"> |
| <meta name="keywords" content="OGC"> |
| <meta name="keywords" content="ESRI"> |
| <meta name="keywords" content="NETCDF"> |
| <meta name="keywords" content="GEOTIFF"> |
| <meta name="keywords" content="PROJ4"> |
| <meta name="keywords" content="MAP_INFO"> |
| <meta name="keywords" content="S57"> |
| <meta name="keywords" content="ISBN"> |
| <meta name="keywords" content="ISSN"> |
| <meta name="keywords" content="SIS"> |
| <meta name="keywords" content="values()"> |
| <meta name="keywords" content="fromName()"> |
| <meta name="keywords" content="titleMatches()"> |
| <meta name="keywords" content="identifierMatches()"> |
| <meta name="keywords" content="getIdentifier()"> |
| <meta name="keywords" content="getUnicodeIdentifier()"> |
| <meta name="keywords" content="toCodeSpace()"> |
| <meta name="keywords" content="getCodeSpace()"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../sis.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Citations (Apache SIS 1.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":9,"i1":41,"i2":9,"i3":41,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../../"; |
| var useModuleDirectories = false; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Citations.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.sis.metadata.iso.citation</a></div> |
| <h2 title="Class Citations" class="title">Class Citations</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../util/Static.html" title="class in org.apache.sis.util">Static</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>Citations</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public final class <span class="typeNameLabel">Citations</span> |
| extends <a href="../../../util/Static.html" title="class in org.apache.sis.util">Static</a></pre> |
| <div class="block">A set of pre-defined constants and static methods working on <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">citations</a>. |
| This class provides two kinds of <code>Citation</code> constants: |
| |
| <ul> |
| <li>Instances of <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink"><code>Citation</code></a> are references mostly for human reading.</li> |
| <li>Instances of <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml"><code>IdentifierSpace</code></a> provide the code spaces for identifiers |
| (most often <a href="../../../referencing/crs/AbstractCRS.html" title="class in org.apache.sis.referencing.crs">Coordinate Reference System</a> identifiers) |
| together with information about who maintains those identifiers.</li> |
| </ul> |
| |
| <div class="note"><b>Example:</b> <code>"EPSG:4326"</code> is a widely-used identifier |
| for the <cite>“World Geodetic System (WGS) 1984”</cite> Coordinate Reference System (CRS). |
| The <code>"4326"</code> part is the identifier <a href="../DefaultIdentifier.html#getCode()">code</a> and |
| the <code>"EPSG"</code> part is the identifier <a href="../DefaultIdentifier.html#getCodeSpace()">code space</a>. |
| The meaning of codes in that code space is controlled by an <a href="../DefaultIdentifier.html#getAuthority()">authority</a>, |
| the <cite>“EPSG Geodetic Parameter Dataset”</cite>. The <a href="DefaultCitation.html#getCitedResponsibleParties()">cited |
| responsible party</a> for the EPSG dataset is the <cite>“International Association of Oil & Gas producers”</cite> (IOGP). |
| </div> |
| |
| The constants defined in this class are typically values returned by: |
| <ul> |
| <li><a href="DefaultCitation.html#getIdentifiers()"><code>DefaultCitation.getIdentifiers()</code></a> for the <a href="#ISBN"><code>ISBN</code></a> and <a href="#ISSN"><code>ISSN</code></a> constants.</li> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a> for other <code>IdentifierSpace</code> constants.</li> |
| <li><a href="../DefaultMetadata.html#getMetadataStandards()"><code>DefaultMetadata.getMetadataStandards()</code></a> for other <code>Citation</code> constants.</li> |
| </ul> |
| |
| The static methods defined in this class are for: |
| <ul> |
| <li>Inferring an identifier from a citation (this is useful mostly with <code>IdentifierSpace</code> instances).</li> |
| <li>Determining if two instances can be considered the same <code>Citation</code> by comparing their titles or |
| their identifiers.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.3</dd> |
| |
| <p><font size="-1">Defined in the <code>sis-metadata</code> module</font></p> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#EPSG">EPSG</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers of objects defined by the |
| <a href="http://www.epsg.org">EPSG Geodetic Parameter Dataset</a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ESRI">ESRI</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers of objects defined by <a href="http://www.esri.com">ESRI</a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GEOTIFF">GEOTIFF</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers of objects defined by the |
| the <a href="http://trac.osgeo.org/geotiff/">GeoTIFF</a> specification.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ISBN">ISBN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The <cite>International Standard Book Number</cite> (ISBN) defined by ISO-2108.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ISO_19115">ISO_19115</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The <cite>Geographic Information — Metadata</cite> standards defined by ISO 19115.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ISSN">ISSN</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The <cite>International Standard Serial Number</cite> (ISSN) defined by ISO-3297.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAP_INFO">MAP_INFO</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers of objects defined by MapInfo.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NETCDF">NETCDF</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers of objects defined by the |
| <a href="http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/">NetCDF</a> specification.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OGC">OGC</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers found in specifications from the |
| <a href="http://www.opengeospatial.org">Open Geospatial Consortium</a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROJ4">PROJ4</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers of objects defined by the <a href="https://proj4.org/">Proj.4</a> project.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#S57">S57</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The <a href="http://www.iho.int/iho_pubs/standard/S-57Ed3.1/31Main.pdf">IHO transfer standard |
| for digital hydrographic data</a> specification.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SIS">SIS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The codespace of objects that are specific to the <a href="http://sis.apache.org">Apache SIS</a> project.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WMS">WMS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The authority for identifiers of objects defined by the |
| <a href="http://www.opengeospatial.org/standards/wms">Web Map Service</a> (WMS) specification.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromName(java.lang.String)">fromName</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> identifier)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a citation of the given identifier.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCodeSpace(org.opengis.metadata.citation.Citation)">getCodeSpace</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">Renamed as <a href="#toCodeSpace(org.opengis.metadata.citation.Citation)"><code>toCodeSpace(Citation)</code></a>.</div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIdentifier(org.opengis.metadata.citation.Citation)">getIdentifier</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</code></th> |
| <td class="colLast"> |
| <div class="block">Infers an identifier from the given citation, or returns <code>null</code> if no identifier has been found.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUnicodeIdentifier(org.opengis.metadata.citation.Citation)">getUnicodeIdentifier</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">Replaced by <a href="#toCodeSpace(org.opengis.metadata.citation.Citation)"><code>toCodeSpace(Citation)</code></a> in order to reduce the risk of inconsistent |
| behavior if those two methods are mixed.</div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#identifierMatches(org.opengis.metadata.citation.Citation,java.lang.String)">identifierMatches</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> identifier)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if at least one <a href="DefaultCitation.html#getIdentifiers()">identifier</a> |
| in the given citation have a <a href="../DefaultIdentifier.html#getCode()">code</a> matching the given |
| string.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#identifierMatches(org.opengis.metadata.citation.Citation,org.opengis.metadata.citation.Citation)">identifierMatches</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c1, |
| <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c2)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if at least one <a href="DefaultCitation.html#getIdentifiers()">identifier</a> |
| <a href="../DefaultIdentifier.html#getCode()">code</a> in <code>c1</code> is equal to an identifier code in |
| <code>c2</code>.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#titleMatches(org.opengis.metadata.citation.Citation,java.lang.String)">titleMatches</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> title)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if the <a href="DefaultCitation.html#getTitle()">title</a> or any |
| <a href="DefaultCitation.html#getAlternateTitles()">alternate title</a> in the given citation |
| matches the given string.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#titleMatches(org.opengis.metadata.citation.Citation,org.opengis.metadata.citation.Citation)">titleMatches</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c1, |
| <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c2)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if at least one <a href="DefaultCitation.html#getTitle()">title</a> or |
| <a href="DefaultCitation.html#getAlternateTitles()">alternate title</a> in <code>c1</code> is leniently |
| equal to a title or alternate title in <code>c2</code>.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toCodeSpace(org.opengis.metadata.citation.Citation)">toCodeSpace</a></span>​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</code></th> |
| <td class="colLast"> |
| <div class="block">Infers a code space from the given citation, or returns <code>null</code> if none.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a>[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the values declared in this <code>Citations</code> class.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="ISO_19115"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ISO_19115</h4> |
| <pre>public static final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a>> ISO_19115</pre> |
| <div class="block">The <cite>Geographic Information — Metadata</cite> standards defined by ISO 19115. |
| This list contains two standards published by the |
| <a href="http://www.iso.org/">International Organization for Standardization</a>: |
| |
| <ul> |
| <li>ISO 19115-1 Geographic Information — Metadata Part 1: Fundamentals</li> |
| <li>ISO 19115-2 Geographic Information — Metadata Part 2: Extensions for imagery and gridded data</li> |
| </ul> |
| |
| Apache SIS always uses those standards together (actually the SIS's API is a merge of those two standards, |
| providing for example a unified view of <code>MI_Band</code> and <code>MD_Band</code>). This is why those standards |
| are defined in a collection rather than as separated constants. |
| |
| <div class="section">Content and future evolution</div> |
| The content of this list may vary in future Apache SIS versions depending on the evolution of standards |
| and in the way that SIS support them. The current content is: |
| |
| <ul> |
| <li><a href="http://www.geoapi.org/3.0/javadoc/org/opengis/annotation/Specification.html?is-external=true#ISO_19115" title="class or interface in org.opengis.annotation" class="externalLink">ISO 19115-1:2014</a> at index 0.</li> |
| <li><a href="http://www.geoapi.org/3.0/javadoc/org/opengis/annotation/Specification.html?is-external=true#ISO_19115_2" title="class or interface in org.opengis.annotation" class="externalLink">ISO 19115-2:2019</a> at index 1.</li> |
| </ul> |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../DefaultMetadata.html#getMetadataStandards()"><code>DefaultMetadata.getMetadataStandards()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.6</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="EPSG"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>EPSG</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> EPSG</pre> |
| <div class="block">The authority for identifiers of objects defined by the |
| <a href="http://www.epsg.org">EPSG Geodetic Parameter Dataset</a>. |
| EPSG is not an organization by itself, but is the <em>identifier space</em> managed by the |
| <a href="http://www.iogp.org">International Association of Oil & Gas producers</a> (IOGP) organization |
| for <a href="../../../referencing/crs/AbstractCRS.html" title="class in org.apache.sis.referencing.crs">Coordinate Reference System</a> identifiers. |
| EPSG is the default namespace of map projection method and parameter names in Apache SIS. |
| |
| <div class="note"><b>Historical note:</b> |
| The EPSG acronym meaning was <cite>“European Petroleum Survey Group”</cite>. |
| But this meaning does not apply anymore since the European and American associations merged into |
| the <cite>“Association of Oil & Gas producers”</cite> (OGP), later renamed as IOGP. |
| The legacy acronym now applies only to the database Coordinate Reference System definitions, |
| known as <cite>“EPSG Geodetic Parameter Dataset”</cite>.</div> |
| |
| The citation <a href="DefaultCitation.html#getCitedResponsibleParties()">responsible party</a> is |
| the IOGP organization, but the <a href="../../../xml/IdentifierSpace.html#getName()">namespace</a> is <code>"EPSG"</code>. |
| |
| <div class="section">When to use "EPSG" and "IOGP"</div> |
| For all usages except GML, the <code>"EPSG"</code> namespace shall be used for identifying |
| <a href="../../../referencing/crs/AbstractCRS.html" title="class in org.apache.sis.referencing.crs">Coordinate Reference System</a> objects. |
| But in the particular case of GML, both <code>"EPSG"</code> and <code>"IOGP"</code> appear in different locations. |
| For example: |
| |
| <blockquote><pre><gml:identifier codeSpace="IOGP">urn:ogc:def:crs:EPSG::4326</gml:identifier></pre></blockquote> |
| |
| Guidelines: |
| <ul> |
| <li>The <code>"EPSG"</code> name shall be used in URN. This part of the URN is called "the authority" and |
| is returned by both <code>Identifier.getAuthority()</code> and <code>Identifier.getCodeSpace()</code>.</li> |
| <li>The <code>"IOGP"</code> name appears in the GML <code>codeSpace</code> attribute, but despite the attribute name this |
| is <strong>not</strong> the <code>Identifier.getCodeSpace()</code> value of the <code>"EPSG:4326"</code> identifier. |
| Instead, Apache SIS considers <code>"IOGP"</code> as the codespace of the <code>"IOGP:EPSG"</code> identifier, |
| which is the <a href="DefaultCitation.html#getIdentifiers()">identifier of this citation</a>.</li> |
| </ul> |
| |
| In other words, Apache SIS considers "IOGP" as the codespace of the "EPSG" codespace, but there is usually |
| no need to go to such depth in identifier hierarchy except when handling GML documents. For this reason, |
| the <code>"IOGP:EPSG"</code> identifier is handled in a special way by <a href="#getIdentifier(org.opengis.metadata.citation.Citation)"><code>getIdentifier(Citation)</code></a>, |
| which return only <code>"EPSG"</code>. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| <li><a href="../../../referencing/factory/ConcurrentAuthorityFactory.html#getAuthority()"><code>ConcurrentAuthorityFactory.getAuthority()</code></a> |
| with the addition of version information.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="WMS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>WMS</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> WMS</pre> |
| <div class="block">The authority for identifiers of objects defined by the |
| <a href="http://www.opengeospatial.org/standards/wms">Web Map Service</a> (WMS) specification. |
| The WMS 1.3 specifications is also known as ISO 19128 |
| <cite>Geographic Information — Web map server interface</cite> standard. |
| |
| <p>The citation <a href="DefaultCitation.html#getCitedResponsibleParties()">responsible parties</a> |
| are the OGC and ISO organizations. |
| The <a href="../../../xml/IdentifierSpace.html#getName()">namespace</a> declared by this constant is <code>"OGC"</code>, |
| but the <code>"CRS"</code>, <code>"AUTO"</code> and <code>"AUTO2"</code> namespaces are also commonly found in practice.</p> |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/factory/CommonAuthorityFactory.html#getAuthority()"><code>CommonAuthorityFactory.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.7</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="OGC"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>OGC</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> OGC</pre> |
| <div class="block">The authority for identifiers found in specifications from the |
| <a href="http://www.opengeospatial.org">Open Geospatial Consortium</a>. |
| The <a href="../../../xml/IdentifierSpace.html#getName()">name</a> of this identifier space is fixed to <code>"OGC"</code>. |
| Apache SIS uses this authority mostly for map projection methods and parameters as they were defined in older |
| OGC specifications (in more recent specifications, <a href="#EPSG">EPSG</a> identifiers tend to be more widely used). |
| |
| <div class="note"><b>Example</b> |
| the Mercator projection can be defined by an operation method having the <code>"OGC:Mercator_1SP"</code> identifier |
| and the following parameters: |
| |
| <table class="sis"> |
| <caption>Example of identifiers in OGC name space</caption> |
| <tr><th>Name in OGC namespace</th> <th>Name in default namespace (EPSG)</th></tr> |
| <tr><td><code>"OGC:semi_major"</code></td> <td></td></tr> |
| <tr><td><code>"OGC:semi_minor"</code></td> <td></td></tr> |
| <tr><td><code>"OGC:latitude_of_origin"</code></td><td>Latitude of natural origin</td></tr> |
| <tr><td><code>"OGC:central_meridian"</code></td> <td>Longitude of natural origin</td></tr> |
| <tr><td><code>"OGC:scale_factor"</code></td> <td>Scale factor at natural origin</td></tr> |
| <tr><td><code>"OGC:false_easting"</code></td> <td>False easting</td></tr> |
| <tr><td><code>"OGC:false_northing"</code></td> <td>False northing</td></tr> |
| </table></div> |
| |
| <div class="section">Specifications referenced</div> |
| The specification actually referenced by this citation is implementation dependent |
| and may change in future SIS version. Some of the specifications used are: |
| |
| <ul> |
| <li><a href="http://www.opengeospatial.org/standards/ct">Coordinate Transformation Service</a></li> |
| <li><a href="http://www.opengeospatial.org/standards/wms">Web Map Service</a></li> |
| <li><a href="http://portal.opengeospatial.org/files/?artifact_id=24045">Definition identifier URNs in OGC namespace</a></li> |
| </ul> |
| |
| We do not commit to a particular OGC specification in order to keep the flexibility to change the |
| <a href="DefaultCitation.html#getTitle()">title</a> or URL according newer OGC publications. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#EPSG"><code>EPSG</code></a>, |
| <a href="#ESRI"><code>ESRI</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ESRI"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ESRI</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> ESRI</pre> |
| <div class="block">The authority for identifiers of objects defined by <a href="http://www.esri.com">ESRI</a>. |
| The <a href="../../../xml/IdentifierSpace.html#getName()">name</a> of this identifier space is fixed to <code>"ESRI"</code>. |
| This citation is used as the authority for many map projection method and parameter names |
| other than the <a href="#EPSG">EPSG</a> ones. |
| |
| <div class="note"><b>Note</b> |
| many parameter names defined by <a href="#OGC">OGC</a> are very similar to the ESRI ones, |
| except for the case. Examples: |
| |
| <table class="sis"> |
| <caption>Example of identifiers in ESRI name space</caption> |
| <tr><th>Name in ESRI namespace</th> <th>Name in OGC namespace</th></tr> |
| <tr><td><code>"ESRI:Semi_Major"</code></td> <td><code>"OGC:semi_major"</code></td></tr> |
| <tr><td><code>"ESRI:Semi_Minor"</code></td> <td><code>"OGC:semi_minor"</code></td></tr> |
| <tr><td><code>"ESRI:Latitude_Of_Origin"</code></td><td><code>"OGC:latitude_of_origin"</code></td></tr> |
| <tr><td><code>"ESRI:Central_Meridian"</code></td> <td><code>"OGC:central_meridian"</code></td></tr> |
| <tr><td><code>"ESRI:Scale_Factor"</code></td> <td><code>"OGC:scale_factor"</code></td></tr> |
| <tr><td><code>"ESRI:False_Easting"</code></td> <td><code>"OGC:false_easting"</code></td></tr> |
| <tr><td><code>"ESRI:False_Northing"</code></td> <td><code>"OGC:false_northing"</code></td></tr> |
| </table></div> |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.4</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#OGC"><code>OGC</code></a>, |
| <a href="#EPSG"><code>EPSG</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="NETCDF"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NETCDF</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> NETCDF</pre> |
| <div class="block">The authority for identifiers of objects defined by the |
| <a href="http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/">NetCDF</a> specification. |
| The <a href="../../../xml/IdentifierSpace.html#getName()">name</a> of this identifier space is fixed to <code>"NetCDF"</code>. |
| This citation is used as the authority for some map projection method and parameter names |
| as used in netCDF files. |
| |
| <div class="note"><b>Example</b> |
| the Mercator projection can be defined in a netCDF file with the following parameters: |
| |
| <table class="sis"> |
| <caption>Example of identifiers in netCDF name space</caption> |
| <tr><th>Name in netCDF namespace</th> <th>Name in default namespace (EPSG)</th></tr> |
| <tr><td><code>"NetCDF:semi_major_axis"</code></td> <td></td></tr> |
| <tr><td><code>"NetCDF:semi_minor_axis"</code></td> <td></td></tr> |
| <tr><td><code>"NetCDF:latitude_of_projection_origin"</code></td> <td>Latitude of natural origin</td></tr> |
| <tr><td><code>"NetCDF:longitude_of_projection_origin"</code></td> <td>Longitude of natural origin</td></tr> |
| <tr><td><code>"NetCDF:scale_factor_at_projection_origin"</code></td> <td>Scale factor at natural origin</td></tr> |
| <tr><td><code>"NetCDF:false_easting"</code></td> <td>False easting</td></tr> |
| <tr><td><code>"NetCDF:false_northing"</code></td> <td>False northing</td></tr> |
| </table></div> |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="GEOTIFF"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GEOTIFF</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> GEOTIFF</pre> |
| <div class="block">The authority for identifiers of objects defined by the |
| the <a href="http://trac.osgeo.org/geotiff/">GeoTIFF</a> specification. |
| This specification identifies some map projections by their own numerical codes. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PROJ4"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PROJ4</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> PROJ4</pre> |
| <div class="block">The authority for identifiers of objects defined by the <a href="https://proj4.org/">Proj.4</a> project. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="MAP_INFO"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MAP_INFO</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> MAP_INFO</pre> |
| <div class="block">The authority for identifiers of objects defined by MapInfo. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.6</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="S57"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>S57</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>> S57</pre> |
| <div class="block">The <a href="http://www.iho.int/iho_pubs/standard/S-57Ed3.1/31Main.pdf">IHO transfer standard |
| for digital hydrographic data</a> specification. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../../../referencing/ImmutableIdentifier.html#getAuthority()"><code>ImmutableIdentifier.getAuthority()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.6</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ISBN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ISBN</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> ISBN</pre> |
| <div class="block">The <cite>International Standard Book Number</cite> (ISBN) defined by ISO-2108. |
| The ISO 19115 metadata standard defines a specific attribute for this information, |
| but the SIS library handles it like any other identifier. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="DefaultCitation.html#getIdentifiers()"><code>DefaultCitation.getIdentifiers()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="DefaultCitation.html#getISBN()"><code>DefaultCitation.getISBN()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ISSN"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ISSN</h4> |
| <pre>public static final <a href="../../../xml/IdentifierSpace.html" title="interface in org.apache.sis.xml">IdentifierSpace</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> ISSN</pre> |
| <div class="block">The <cite>International Standard Serial Number</cite> (ISSN) defined by ISO-3297. |
| The ISO 19115 metadata standard defines a specific attribute for this information, |
| but the SIS library handles it like any other identifier. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="DefaultCitation.html#getIdentifiers()"><code>DefaultCitation.getIdentifiers()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="DefaultCitation.html#getISSN()"><code>DefaultCitation.getISSN()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="SIS"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SIS</h4> |
| <pre>public static final <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> SIS</pre> |
| <div class="block">The codespace of objects that are specific to the <a href="http://sis.apache.org">Apache SIS</a> project. |
| |
| <div class="section">Main usage</div> |
| This value can be returned by: |
| <ul> |
| <li><a href="../quality/DefaultConformanceResult.html#getSpecification()"><code>DefaultConformanceResult.getSpecification()</code></a></li> |
| </ul></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.4</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="values()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>values</h4> |
| <pre class="methodSignature">public static <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a>[] values()</pre> |
| <div class="block">Returns the values declared in this <code>Citations</code> class.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value declared in this <code>Citations</code> class.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="fromName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fromName</h4> |
| <pre class="methodSignature">public static <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> fromName​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> identifier)</pre> |
| <div class="block">Returns a citation of the given identifier. The method makes the following choice: |
| |
| <ul> |
| <li>If the given title is <code>null</code> or empty (ignoring spaces), then this method returns <code>null</code>.</li> |
| <li>Otherwise if the given string matches an <a href="DefaultCitation.html#getIdentifiers()">identifier</a> of one of |
| the pre-defined constants (<a href="#EPSG"><code>EPSG</code></a>, <a href="#GEOTIFF"><code>GEOTIFF</code></a>, <i>etc.</i>), then that constant is returned.</li> |
| <li>Otherwise, a new citation is created with the specified name as the title.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>identifier</code> - the citation title (or alternate title), or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a citation using the specified name, or <code>null</code> if the given title is null or empty.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="titleMatches(org.opengis.metadata.citation.Citation,org.opengis.metadata.citation.Citation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>titleMatches</h4> |
| <pre class="methodSignature">public static boolean titleMatches​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c1, |
| <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c2)</pre> |
| <div class="block">Returns <code>true</code> if at least one <a href="DefaultCitation.html#getTitle()">title</a> or |
| <a href="DefaultCitation.html#getAlternateTitles()">alternate title</a> in <code>c1</code> is leniently |
| equal to a title or alternate title in <code>c2</code>. The comparison is case-insensitive |
| and ignores every character which is not a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isLetterOrDigit(int)" title="class or interface in java.lang" class="externalLink">letter or a digit</a>. The titles ordering is not significant.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>c1</code> - the first citation to compare, or <code>null</code>.</dd> |
| <dd><code>c2</code> - the second citation to compare, or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if both arguments are non-null, and at least one title or alternate title matches.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="titleMatches(org.opengis.metadata.citation.Citation,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>titleMatches</h4> |
| <pre class="methodSignature">public static boolean titleMatches​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> title)</pre> |
| <div class="block">Returns <code>true</code> if the <a href="DefaultCitation.html#getTitle()">title</a> or any |
| <a href="DefaultCitation.html#getAlternateTitles()">alternate title</a> in the given citation |
| matches the given string. The comparison is case-insensitive and ignores every character |
| which is not a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isLetterOrDigit(int)" title="class or interface in java.lang" class="externalLink">letter or a digit</a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>citation</code> - the citation to check for, or <code>null</code>.</dd> |
| <dd><code>title</code> - the title or alternate title to compare, or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if both arguments are non-null, and the title or an alternate |
| title matches the given string.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="identifierMatches(org.opengis.metadata.citation.Citation,org.opengis.metadata.citation.Citation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>identifierMatches</h4> |
| <pre class="methodSignature">public static boolean identifierMatches​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c1, |
| <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> c2)</pre> |
| <div class="block">Returns <code>true</code> if at least one <a href="DefaultCitation.html#getIdentifiers()">identifier</a> |
| <a href="../DefaultIdentifier.html#getCode()">code</a> in <code>c1</code> is equal to an identifier code in |
| <code>c2</code>. <a href="../DefaultIdentifier.html#getCodeSpace()">Code spaces</a> are compared only if |
| provided in the two identifiers being compared. Comparisons are case-insensitive and ignores |
| every character which is not a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isLetterOrDigit(int)" title="class or interface in java.lang" class="externalLink">letter or a digit</a>. |
| The identifier ordering is not significant. |
| |
| <p>If (and <em>only</em> if) the citations do not contains any identifier, then this method |
| fallback on titles comparison using the <a href="#titleMatches(org.opengis.metadata.citation.Citation,org.opengis.metadata.citation.Citation)"><code>titleMatches</code></a> |
| method. This fallback exists for compatibility with client codes using the citation |
| <a href="DefaultCitation.html#getTitle()">titles</a> without identifiers.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>c1</code> - the first citation to compare, or <code>null</code>.</dd> |
| <dd><code>c2</code> - the second citation to compare, or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if both arguments are non-null, and at least one identifier matches.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="identifierMatches(org.opengis.metadata.citation.Citation,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>identifierMatches</h4> |
| <pre class="methodSignature">public static boolean identifierMatches​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> identifier)</pre> |
| <div class="block">Returns <code>true</code> if at least one <a href="DefaultCitation.html#getIdentifiers()">identifier</a> |
| in the given citation have a <a href="../DefaultIdentifier.html#getCode()">code</a> matching the given |
| string. The comparison is case-insensitive and ignores every character which is not a |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isLetterOrDigit(int)" title="class or interface in java.lang" class="externalLink">letter or a digit</a>. |
| |
| <p>If (and <em>only</em> if) the citation does not contain any identifier, then this method |
| fallback on titles comparison using the <a href="#titleMatches(org.opengis.metadata.citation.Citation,java.lang.String)"><code>titleMatches</code></a> |
| method. This fallback exists for compatibility with citations using |
| <a href="DefaultCitation.html#getTitle()">title</a> and |
| <a href="DefaultCitation.html#getAlternateTitles()">alternate titles</a> (often abbreviations) |
| without identifiers.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>citation</code> - the citation to check for, or <code>null</code>.</dd> |
| <dd><code>identifier</code> - the identifier to compare, or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if both arguments are non-null, and an identifier matches the given string.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getIdentifier(org.opengis.metadata.citation.Citation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdentifier</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getIdentifier​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</pre> |
| <div class="block">Infers an identifier from the given citation, or returns <code>null</code> if no identifier has been found. |
| This method is useful for extracting a short designation of an authority (e.g. <code>"EPSG"</code>) |
| for display purpose. This method performs the following choices: |
| |
| <ul class="verbose"> |
| <li>If the given citation is <code>null</code>, then this method returns <code>null</code>.</li> |
| <li>Otherwise if the collection of <a href="DefaultCitation.html#getIdentifiers()">citation identifiers</a> |
| contains at least one non-<a href="../../../util/Deprecable.html#isDeprecated()">deprecated</a> |
| identifier, then: |
| <ul> |
| <li>If the <var>codespace</var> (if any) and the <var>code</var> of at least one non-deprecated identifier |
| are <a href="../../../util/CharSequences.html#isUnicodeIdentifier(java.lang.CharSequence)">valid Unicode identifiers</a> |
| (with relaxed rules regarding the code), then the <strong>first</strong> of those identifiers |
| is returned in a <code>"[codespace:]code"</code> format. If a <var>codespace</var> exists, |
| then the above restriction about the <var>code</var> is relaxed in two ways: |
| <ul> |
| <li>The code is allowed to start with a |
| Unicode identifier <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isUnicodeIdentifierPart(int)" title="class or interface in java.lang" class="externalLink">part</a> |
| (not necessarily <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isUnicodeIdentifierStart(int)" title="class or interface in java.lang" class="externalLink">start</a>) |
| since the <var>codespace</var> already provides the start character.</li> |
| <li>The code is allowed to contain some other characters (currently <code>'.'</code> and <code>'-'</code>) |
| commonly found in identifiers in the codespace managed by various authorities.</li> |
| </ul> |
| </li> |
| <li>Otherwise the first non-empty and non-deprecated identifier is returned in a |
| <code>"[codespace:]code"</code> format, despite not being a valid Unicode identifier.</li> |
| </ul> |
| </li> |
| <li>Otherwise if the citation contains at least one non-deprecated <a href="DefaultCitation.html#getTitle()">title</a> |
| or <a href="DefaultCitation.html#getAlternateTitles()">alternate title</a>, then: |
| <ul> |
| <li>If at least one non-deprecated title is a <a href="../../../util/CharSequences.html#isUnicodeIdentifier(java.lang.CharSequence)">unicode identifier</a>, then the <strong>first</strong> of those titles is returned.</li> |
| <li>Otherwise the first non-empty and non-deprecated title is returned, |
| despite not being a valid Unicode identifier.</li> |
| </ul> |
| </li> |
| <li>Otherwise this method returns <code>null</code>.</li> |
| </ul> |
| |
| <div class="note"><b>Note:</b> |
| This method searches in alternate titles as a fallback because ISO specification said |
| that those titles are often used for abbreviations. However titles are never searched |
| if the given citation contains at least one non-empty and non-deprecated identifier.</div> |
| |
| This method ignores leading and trailing <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isWhitespace(int)" title="class or interface in java.lang" class="externalLink">whitespaces</a> |
| in every character sequences. Null or empty trimmed character sequences are ignored. |
| This method does <em>not</em> remove <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isIdentifierIgnorable(int)" title="class or interface in java.lang" class="externalLink">ignorable characters</a>. |
| The result is a string which is <em>likely</em>, but not guaranteed, to be a valid XML or Unicode identifier. |
| The returned string is useful when an "identifier-like" string is desired for display or information purpose, |
| but does not need to be a strictly valid identifier.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>citation</code> - the citation for which to get the identifier, or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a non-empty identifier for the given citation without leading or trailing whitespaces, |
| or <code>null</code> if the given citation is null or does not declare any identifier or title.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getUnicodeIdentifier(org.opengis.metadata.citation.Citation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUnicodeIdentifier</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getUnicodeIdentifier​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">Replaced by <a href="#toCodeSpace(org.opengis.metadata.citation.Citation)"><code>toCodeSpace(Citation)</code></a> in order to reduce the risk of inconsistent |
| behavior if those two methods are mixed.</div> |
| </div> |
| <div class="block">Infers a valid Unicode identifier from the given citation, or returns <code>null</code> if none.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>citation</code> - the citation for which to get the Unicode identifier, or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a non-empty Unicode identifier for the given citation without leading or trailing whitespaces, |
| or <code>null</code> if the given citation is null or does not have any Unicode identifier or title.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.6</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../referencing/ImmutableIdentifier.html" title="class in org.apache.sis.referencing"><code>ImmutableIdentifier</code></a>, |
| <a href="../../../referencing/IdentifiedObjects.html#getSimpleNameOrIdentifier(org.opengis.referencing.IdentifiedObject)"><code>IdentifiedObjects.getSimpleNameOrIdentifier(IdentifiedObject)</code></a>, |
| <a href="../../../util/CharSequences.html#isUnicodeIdentifier(java.lang.CharSequence)"><code>CharSequences.isUnicodeIdentifier(CharSequence)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toCodeSpace(org.opengis.metadata.citation.Citation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toCodeSpace</h4> |
| <pre class="methodSignature">public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> toCodeSpace​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</pre> |
| <div class="block">Infers a code space from the given citation, or returns <code>null</code> if none. |
| This method is useful for extracting a short designation of an authority (e.g. <code>"EPSG"</code>) |
| for processing purpose. This method performs the following actions: |
| |
| <ul class="verbose"> |
| <li>If the given citation is an instance of <code>IdentifierSpace</code>, |
| returns <a href="../../../xml/IdentifierSpace.html#getName()"><code>IdentifierSpace.getName()</code></a>.</li> |
| <li>Otherwise, performs the same work than <a href="#getIdentifier(org.opengis.metadata.citation.Citation)"><code>getIdentifier(Citation)</code></a> except that <code>'_'</code> |
| is used instead of <a href="../../../util/iso/DefaultNameSpace.html#DEFAULT_SEPARATOR"><code>':'</code></a> |
| as the separator between the codespace and the code.</li> |
| <li>If the result of above method call is <code>null</code> or is not a |
| <a href="../../../util/CharSequences.html#isUnicodeIdentifier(java.lang.CharSequence)">valid Unicode identifier</a>, |
| then return <code>null</code>.</li> |
| <li>Otherwise remove the <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true#isIdentifierIgnorable(int)" title="class or interface in java.lang" class="externalLink">ignorable characters</a>, |
| if any, and returns the result.</li> |
| </ul> |
| |
| <div class="note"><b>Note:</b> |
| examples of ignorable identifier characters are <cite>zero width space</cite> or <cite>word joiner</cite>. |
| Those characters are illegal in XML identifiers, and should therfore be removed if the Unicode identifier |
| may also be used as XML identifier.</div> |
| |
| If non-null, the result is suitable for use as a XML identifier except for a few uncommon characters. |
| |
| <div class="note"><b>Note:</b> |
| the following characters are invalid in XML identifiers. However since they are valid in Unicode identifiers, |
| they could be included in the string returned by this method: |
| <ul> |
| <li><code>µ</code></li> |
| <li><code>ª</code> (feminine ordinal indicator)</li> |
| <li><code>º</code> (masculine ordinal indicator)</li> |
| <li><code>⁔</code></li> |
| </ul></div></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>citation</code> - the citation for which to infer the code space, or <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a non-empty code space for the given citation without leading or trailing whitespaces, |
| or <code>null</code> if the given citation is null or does not have any Unicode identifier or title.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getCodeSpace(org.opengis.metadata.citation.Citation)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getCodeSpace</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getCodeSpace​(<a href="http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/citation/Citation.html?is-external=true" title="class or interface in org.opengis.metadata.citation" class="externalLink">Citation</a> citation)</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">Renamed as <a href="#toCodeSpace(org.opengis.metadata.citation.Citation)"><code>toCodeSpace(Citation)</code></a>. The previous name was confusing because this |
| method does not return the namespace of the given citation, but instead represents it as a namespace.</div> |
| </div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.8</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Citations.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2010–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |