ProtocolLib/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html
2013-01-10 00:58:34 +01:00

301 lines
22 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Thu Jan 10 00:56:16 CET 2013 -->
<title>Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter</title>
<meta name="date" content="2013-01-10">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/class-use/EquivalentConverter.html" target="_top">Frames</a></li>
<li><a href="EquivalentConverter.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></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>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter" class="title">Uses of Interface<br>com.comphenix.protocol.reflect.EquivalentConverter</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.comphenix.protocol.reflect">com.comphenix.protocol.reflect</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.comphenix.protocol.wrappers">com.comphenix.protocol.wrappers</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.comphenix.protocol.reflect">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a> in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a> declared as <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#converter">converter</a></strong></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/reflect/package-summary.html">com.comphenix.protocol.reflect</a> with parameters of type <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#initialize(java.lang.Class, java.lang.Class, java.util.List, java.util.Map, com.comphenix.protocol.reflect.EquivalentConverter, java.util.Map)">initialize</a></strong>(java.lang.Class&nbsp;targetType,
java.lang.Class&nbsp;fieldType,
java.util.List&lt;java.lang.reflect.Field&gt;&nbsp;data,
java.util.Map&lt;java.lang.reflect.Field,java.lang.Integer&gt;&nbsp;defaultFields,
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;&nbsp;converter,
java.util.Map&lt;java.lang.Class,<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&gt;&nbsp;subTypeCache)</code>
<div class="block">Initialize every field of this class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#initialize(java.lang.Class, java.lang.Class, java.util.List, java.util.Map, com.comphenix.protocol.reflect.EquivalentConverter, java.util.Map, boolean)">initialize</a></strong>(java.lang.Class&nbsp;targetType,
java.lang.Class&nbsp;fieldType,
java.util.List&lt;java.lang.reflect.Field&gt;&nbsp;data,
java.util.Map&lt;java.lang.reflect.Field,java.lang.Integer&gt;&nbsp;defaultFields,
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;&nbsp;converter,
java.util.Map&lt;java.lang.Class,<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&gt;&nbsp;subTypeCache,
boolean&nbsp;useStructureCompiler)</code>
<div class="block">Initialize every field of this class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#setConverter(com.comphenix.protocol.reflect.EquivalentConverter)">setConverter</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="type parameter in StructureModifier">TField</a>&gt;&nbsp;converter)</code>
<div class="block">Set the current object converter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected &lt;T&gt;&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withFieldType(java.lang.Class, java.util.List, java.util.Map, com.comphenix.protocol.reflect.EquivalentConverter)">withFieldType</a></strong>(java.lang.Class&nbsp;fieldType,
java.util.List&lt;java.lang.reflect.Field&gt;&nbsp;filtered,
java.util.Map&lt;java.lang.reflect.Field,java.lang.Integer&gt;&nbsp;defaults,
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;T&gt;&nbsp;converter)</code>
<div class="block">Create a new structure modifier for the new field type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="strong">StructureModifier.</span><code><strong><a href="../../../../../com/comphenix/protocol/reflect/StructureModifier.html#withType(java.lang.Class, com.comphenix.protocol.reflect.EquivalentConverter)">withType</a></strong>(java.lang.Class&nbsp;fieldType,
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;T&gt;&nbsp;converter)</code>
<div class="block">Retrieves a structure modifier that only reads and writes fields of a given type.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.comphenix.protocol.wrappers">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a> in <a href="../../../../../com/comphenix/protocol/wrappers/package-summary.html">com.comphenix.protocol.wrappers</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/wrappers/package-summary.html">com.comphenix.protocol.wrappers</a> that return <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/wrappers/ChunkPosition.html" title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>&gt;</code></td>
<td class="colLast"><span class="strong">ChunkPosition.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/ChunkPosition.html#getConverter()">getConverter</a></strong>()</code>
<div class="block">Used to convert between NMS ChunkPosition and the wrapper instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html" title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a>&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getDataWatcherConverter()">getDataWatcherConverter</a></strong>()</code>
<div class="block">Retrieve a converter for the NMS DataWatcher class and our wrapper.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;org.bukkit.entity.Entity&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getEntityConverter(org.bukkit.World)">getEntityConverter</a></strong>(org.bukkit.World&nbsp;world)</code>
<div class="block">Retrieve a converter for NMS entities and Bukkit entities.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;TType&gt;&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;TType&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getIgnoreNull(com.comphenix.protocol.reflect.EquivalentConverter)">getIgnoreNull</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;TType&gt;&nbsp;delegate)</code>
<div class="block">Wraps a given equivalent converter in NULL checks, ensuring that such values are ignored.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;org.bukkit.inventory.ItemStack&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getItemStackConverter()">getItemStackConverter</a></strong>()</code>
<div class="block">Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;java.util.List&lt;T&gt;&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getListConverter(java.lang.Class, com.comphenix.protocol.reflect.EquivalentConverter)">getListConverter</a></strong>(java.lang.Class&lt;?&gt;&nbsp;genericItemType,
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;T&gt;&nbsp;itemConverter)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getNbtConverter()">getNbtConverter</a></strong>()</code>
<div class="block">Retrieve an equivalent converter for net.minecraft.server NBT classes and their wrappers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;<a href="../../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html" title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getWatchableObjectConverter()">getWatchableObjectConverter</a></strong>()</code>
<div class="block">Retrieve a converter for watchable objects and the respective wrapper.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;org.bukkit.WorldType&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getWorldTypeConverter()">getWorldTypeConverter</a></strong>()</code>
<div class="block">Retrieve a converter for Bukkit's world type enum and the NMS equivalent.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/comphenix/protocol/wrappers/package-summary.html">com.comphenix.protocol.wrappers</a> with parameters of type <a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;TType&gt;&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;TType&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getIgnoreNull(com.comphenix.protocol.reflect.EquivalentConverter)">getIgnoreNull</a></strong>(<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;TType&gt;&nbsp;delegate)</code>
<div class="block">Wraps a given equivalent converter in NULL checks, ensuring that such values are ignored.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;java.util.List&lt;T&gt;&gt;</code></td>
<td class="colLast"><span class="strong">BukkitConverters.</span><code><strong><a href="../../../../../com/comphenix/protocol/wrappers/BukkitConverters.html#getListConverter(java.lang.Class, com.comphenix.protocol.reflect.EquivalentConverter)">getListConverter</a></strong>(java.lang.Class&lt;?&gt;&nbsp;genericItemType,
<a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">EquivalentConverter</a>&lt;T&gt;&nbsp;itemConverter)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../com/comphenix/protocol/reflect/EquivalentConverter.html" title="interface in com.comphenix.protocol.reflect">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/comphenix/protocol/reflect/class-use/EquivalentConverter.html" target="_top">Frames</a></li>
<li><a href="EquivalentConverter.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>