<dd><code><ahref="../../../org/bukkit/NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a></code>, <code><ahref="NamespacedTag.html"title="class in com.destroystokyo.paper">NamespacedTag</a></code></dd>
<divclass="block">Represents a namespaced resource, see <ahref="../../../org/bukkit/NamespacedKey.html"title="class in org.bukkit"><code>NamespacedKey</code></a> for single elements
or <ahref="NamespacedTag.html"title="class in com.destroystokyo.paper"><code>NamespacedTag</code></a> for a collection of elements
Namespaces may only contain lowercase alphanumeric characters, periods,
underscores, and hyphens.
<p>
Keys may only contain lowercase alphanumeric characters, periods,
underscores, hyphens, and forward slashes.
<p>
You should not be implementing this interface yourself, use <ahref="../../../org/bukkit/NamespacedKey.html"title="class in org.bukkit"><code>NamespacedKey</code></a>
or <ahref="NamespacedTag.html"title="class in com.destroystokyo.paper"><code>NamespacedTag</code></a> as needed instead.</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="block">Gets the key corresponding to this resource</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="block">Gets the namespace this resource is a part of</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getNamespace()">
<h3>getNamespace</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getNamespace</span>()</div>
<divclass="block">Gets the namespace this resource is a part of
<p>
This is contractually obligated to only contain lowercase alphanumeric characters,
periods, underscores, and hyphens.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>resource namespace</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getKey()">
<h3>getKey</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getKey</span>()</div>
<divclass="block">Gets the key corresponding to this resource
<p>
This is contractually obligated to only contain lowercase alphanumeric characters,
periods, underscores, hyphens, and forward slashes.</div>