1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:33 PDT 2013 --> 6<title>BeanUtil (Jackson JSON Processor)</title> 7<meta name="date" content="2013-07-14"> 8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 if (location.href.indexOf('is-external=true') == -1) { 13 parent.document.title="BeanUtil (Jackson JSON Processor)"; 14 } 15//--> 16</script> 17<noscript> 18<div>JavaScript is disabled on your browser.</div> 19</noscript> 20<!-- ========= START OF TOP NAVBAR ======= --> 21<div class="topNav"><a name="navbar_top"> 22<!-- --> 23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 24<!-- --> 25</a> 26<ul class="navList" title="Navigation"> 27<li><a href="../../../../overview-summary.html">Overview</a></li> 28<li><a href="package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/BeanUtil.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../org/codehaus/jackson/mrbean/BeanBuilder.html" title="class in org.codehaus.jackson.mrbean"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/mrbean/MrBeanModule.html" title="class in org.codehaus.jackson.mrbean"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/mrbean/BeanUtil.html" target="_top">Frames</a></li> 44<li><a href="BeanUtil.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li>Nested | </li> 65<li>Field | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li>Field | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">org.codehaus.jackson.mrbean</div> 83<h2 title="Class BeanUtil" class="title">Class BeanUtil</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 88<li> 89<ul class="inheritance"> 90<li>org.codehaus.jackson.mrbean.BeanUtil</li> 91</ul> 92</li> 93</ul> 94<div class="description"> 95<ul class="blockList"> 96<li class="blockList"> 97<hr> 98<br> 99<pre>public class <span class="strong">BeanUtil</span> 100extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> 101</li> 102</ul> 103</div> 104<div class="summary"> 105<ul class="blockList"> 106<li class="blockList"> 107<!-- ======== CONSTRUCTOR SUMMARY ======== --> 108<ul class="blockList"> 109<li class="blockList"><a name="constructor_summary"> 110<!-- --> 111</a> 112<h3>Constructor Summary</h3> 113<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 114<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 115<tr> 116<th class="colOne" scope="col">Constructor and Description</th> 117</tr> 118<tr class="altColor"> 119<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/mrbean/BeanUtil.html#BeanUtil()">BeanUtil</a></strong>()</code> </td> 120</tr> 121</table> 122</li> 123</ul> 124<!-- ========== METHOD SUMMARY =========== --> 125<ul class="blockList"> 126<li class="blockList"><a name="method_summary"> 127<!-- --> 128</a> 129<h3>Method Summary</h3> 130<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 131<caption><span>Methods</span><span class="tabEnd"> </span></caption> 132<tr> 133<th class="colFirst" scope="col">Modifier and Type</th> 134<th class="colLast" scope="col">Method and Description</th> 135</tr> 136<tr class="altColor"> 137<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>></code></td> 138<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/mrbean/BeanUtil.html#findSuperTypes(java.lang.Class, java.lang.Class)">findSuperTypes</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 139 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> endBefore)</code> 140<div class="block">Method that will find all sub-classes and implemented interfaces 141 of a given class or interface.</div> 142</td> 143</tr> 144<tr class="rowColor"> 145<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>></code></td> 146<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/mrbean/BeanUtil.html#findSuperTypes(java.lang.Class, java.lang.Class, java.util.List)">findSuperTypes</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 147 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> endBefore, 148 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> result)</code> </td> 149</tr> 150<tr class="altColor"> 151<td class="colFirst"><code>protected static boolean</code></td> 152<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/mrbean/BeanUtil.html#isConcrete(java.lang.reflect.Member)">isConcrete</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> member)</code> </td> 153</tr> 154</table> 155<ul class="blockList"> 156<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 157<!-- --> 158</a> 159<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 160<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 161</ul> 162</li> 163</ul> 164</li> 165</ul> 166</div> 167<div class="details"> 168<ul class="blockList"> 169<li class="blockList"> 170<!-- ========= CONSTRUCTOR DETAIL ======== --> 171<ul class="blockList"> 172<li class="blockList"><a name="constructor_detail"> 173<!-- --> 174</a> 175<h3>Constructor Detail</h3> 176<a name="BeanUtil()"> 177<!-- --> 178</a> 179<ul class="blockListLast"> 180<li class="blockList"> 181<h4>BeanUtil</h4> 182<pre>public BeanUtil()</pre> 183</li> 184</ul> 185</li> 186</ul> 187<!-- ============ METHOD DETAIL ========== --> 188<ul class="blockList"> 189<li class="blockList"><a name="method_detail"> 190<!-- --> 191</a> 192<h3>Method Detail</h3> 193<a name="isConcrete(java.lang.reflect.Member)"> 194<!-- --> 195</a> 196<ul class="blockList"> 197<li class="blockList"> 198<h4>isConcrete</h4> 199<pre>protected static boolean isConcrete(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</a> member)</pre> 200</li> 201</ul> 202<a name="findSuperTypes(java.lang.Class, java.lang.Class)"> 203<!-- --> 204</a> 205<ul class="blockList"> 206<li class="blockList"> 207<h4>findSuperTypes</h4> 208<pre>public static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> findSuperTypes(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 209 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> endBefore)</pre> 210<div class="block">Method that will find all sub-classes and implemented interfaces 211 of a given class or interface. Classes are listed in order of 212 precedence, starting with the immediate super-class, followed by 213 interfaces class directly declares to implemented, and then recursively 214 followed by parent of super-class and so forth. 215 Note that <code>Object.class</code> is not included in the list 216 regardless of whether <code>endBefore</code> argument is defined or not.</div> 217<dl><dt><span class="strong">Parameters:</span></dt><dd><code>endBefore</code> - Super-type to NOT include in results, if any; when 218 encountered, will be ignored (and no super types are checked).</dd></dl> 219</li> 220</ul> 221<a name="findSuperTypes(java.lang.Class, java.lang.Class, java.util.List)"> 222<!-- --> 223</a> 224<ul class="blockListLast"> 225<li class="blockList"> 226<h4>findSuperTypes</h4> 227<pre>public static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> findSuperTypes(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 228 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> endBefore, 229 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> result)</pre> 230</li> 231</ul> 232</li> 233</ul> 234</li> 235</ul> 236</div> 237</div> 238<!-- ========= END OF CLASS DATA ========= --> 239<!-- ======= START OF BOTTOM NAVBAR ====== --> 240<div class="bottomNav"><a name="navbar_bottom"> 241<!-- --> 242</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 243<!-- --> 244</a> 245<ul class="navList" title="Navigation"> 246<li><a href="../../../../overview-summary.html">Overview</a></li> 247<li><a href="package-summary.html">Package</a></li> 248<li class="navBarCell1Rev">Class</li> 249<li><a href="class-use/BeanUtil.html">Use</a></li> 250<li><a href="package-tree.html">Tree</a></li> 251<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 252<li><a href="../../../../index-all.html">Index</a></li> 253<li><a href="../../../../help-doc.html">Help</a></li> 254</ul> 255</div> 256<div class="subNav"> 257<ul class="navList"> 258<li><a href="../../../../org/codehaus/jackson/mrbean/BeanBuilder.html" title="class in org.codehaus.jackson.mrbean"><span class="strong">Prev Class</span></a></li> 259<li><a href="../../../../org/codehaus/jackson/mrbean/MrBeanModule.html" title="class in org.codehaus.jackson.mrbean"><span class="strong">Next Class</span></a></li> 260</ul> 261<ul class="navList"> 262<li><a href="../../../../index.html?org/codehaus/jackson/mrbean/BeanUtil.html" target="_top">Frames</a></li> 263<li><a href="BeanUtil.html" target="_top">No Frames</a></li> 264</ul> 265<ul class="navList" id="allclasses_navbar_bottom"> 266<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 267</ul> 268<div> 269<script type="text/javascript"><!-- 270 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 271 if(window==top) { 272 allClassesLink.style.display = "block"; 273 } 274 else { 275 allClassesLink.style.display = "none"; 276 } 277 //--> 278</script> 279</div> 280<div> 281<ul class="subNavList"> 282<li>Summary: </li> 283<li>Nested | </li> 284<li>Field | </li> 285<li><a href="#constructor_summary">Constr</a> | </li> 286<li><a href="#method_summary">Method</a></li> 287</ul> 288<ul class="subNavList"> 289<li>Detail: </li> 290<li>Field | </li> 291<li><a href="#constructor_detail">Constr</a> | </li> 292<li><a href="#method_detail">Method</a></li> 293</ul> 294</div> 295<a name="skip-navbar_bottom"> 296<!-- --> 297</a></div> 298<!-- ======== END OF BOTTOM NAVBAR ======= --> 299</body> 300</html> 301