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_25) on Sat Nov 16 21:43:20 PST 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>Annotations (jackson-databind 2.3.0 API)</title> 8<meta name="date" content="2013-11-16"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="Annotations (jackson-databind 2.3.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/Annotations.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li>Prev Class</li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/Annotations.html" target="_top">Frames</a></li> 45<li><a href="Annotations.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li>Field | </li> 67<li>Constr | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li>Constr | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.util</div> 84<h2 title="Interface Annotations" class="title">Interface Annotations</h2> 85</div> 86<div class="contentContainer"> 87<div class="description"> 88<ul class="blockList"> 89<li class="blockList"> 90<dl> 91<dt>All Known Implementing Classes:</dt> 92<dd><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</a></dd> 93</dl> 94<hr> 95<br> 96<pre>public interface <span class="strong">Annotations</span></pre> 97<div class="block">Interface that defines interface for accessing contents of a 98 collection of annotations. This is needed when introspecting 99 annotation-based features from different kinds of things, not 100 just objects that Java Reflection interface exposes. 101<p> 102 Standard mutable implementation is <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect"><code>AnnotationMap</code></a></div> 103</li> 104</ul> 105</div> 106<div class="summary"> 107<ul class="blockList"> 108<li class="blockList"> 109<!-- ========== METHOD SUMMARY =========== --> 110<ul class="blockList"> 111<li class="blockList"><a name="method_summary"> 112<!-- --> 113</a> 114<h3>Method Summary</h3> 115<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 116<caption><span>Methods</span><span class="tabEnd"> </span></caption> 117<tr> 118<th class="colFirst" scope="col">Modifier and Type</th> 119<th class="colLast" scope="col">Method and Description</th> 120</tr> 121<tr class="altColor"> 122<td class="colFirst"><code><A extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> <br>A</code></td> 123<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#get(java.lang.Class)">get</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><A> cls)</code> 124<div class="block">Main access method used to find value for given annotation.</div> 125</td> 126</tr> 127<tr class="rowColor"> 128<td class="colFirst"><code>int</code></td> 129<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#size()">size</a></strong>()</code> 130<div class="block">Returns number of annotation entries in this collection.</div> 131</td> 132</tr> 133</table> 134</li> 135</ul> 136</li> 137</ul> 138</div> 139<div class="details"> 140<ul class="blockList"> 141<li class="blockList"> 142<!-- ============ METHOD DETAIL ========== --> 143<ul class="blockList"> 144<li class="blockList"><a name="method_detail"> 145<!-- --> 146</a> 147<h3>Method Detail</h3> 148<a name="get(java.lang.Class)"> 149<!-- --> 150</a> 151<ul class="blockList"> 152<li class="blockList"> 153<h4>get</h4> 154<pre><A extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> A get(<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><A> cls)</pre> 155<div class="block">Main access method used to find value for given annotation.</div> 156</li> 157</ul> 158<a name="size()"> 159<!-- --> 160</a> 161<ul class="blockListLast"> 162<li class="blockList"> 163<h4>size</h4> 164<pre>int size()</pre> 165<div class="block">Returns number of annotation entries in this collection.</div> 166</li> 167</ul> 168</li> 169</ul> 170</li> 171</ul> 172</div> 173</div> 174<!-- ========= END OF CLASS DATA ========= --> 175<!-- ======= START OF BOTTOM NAVBAR ====== --> 176<div class="bottomNav"><a name="navbar_bottom"> 177<!-- --> 178</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 179<!-- --> 180</a> 181<ul class="navList" title="Navigation"> 182<li><a href="../../../../../overview-summary.html">Overview</a></li> 183<li><a href="package-summary.html">Package</a></li> 184<li class="navBarCell1Rev">Class</li> 185<li><a href="class-use/Annotations.html">Use</a></li> 186<li><a href="package-tree.html">Tree</a></li> 187<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 188<li><a href="../../../../../index-all.html">Index</a></li> 189<li><a href="../../../../../help-doc.html">Help</a></li> 190</ul> 191</div> 192<div class="subNav"> 193<ul class="navList"> 194<li>Prev Class</li> 195<li><a href="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li> 196</ul> 197<ul class="navList"> 198<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/Annotations.html" target="_top">Frames</a></li> 199<li><a href="Annotations.html" target="_top">No Frames</a></li> 200</ul> 201<ul class="navList" id="allclasses_navbar_bottom"> 202<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 203</ul> 204<div> 205<script type="text/javascript"><!-- 206 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 207 if(window==top) { 208 allClassesLink.style.display = "block"; 209 } 210 else { 211 allClassesLink.style.display = "none"; 212 } 213 //--> 214</script> 215</div> 216<div> 217<ul class="subNavList"> 218<li>Summary: </li> 219<li>Nested | </li> 220<li>Field | </li> 221<li>Constr | </li> 222<li><a href="#method_summary">Method</a></li> 223</ul> 224<ul class="subNavList"> 225<li>Detail: </li> 226<li>Field | </li> 227<li>Constr | </li> 228<li><a href="#method_detail">Method</a></li> 229</ul> 230</div> 231<a name="skip-navbar_bottom"> 232<!-- --> 233</a></div> 234<!-- ======== END OF BOTTOM NAVBAR ======= --> 235<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 236</body> 237</html> 238