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