1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:21 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8Annotations (jackson-databind 2.1.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-10-09"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="Annotations (jackson-databind 2.1.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Annotations.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 PREV CLASS 60 <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html" title="class in com.fasterxml.jackson.databind.util"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/util/Annotations.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="Annotations.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92com.fasterxml.jackson.databind.util</FONT> 93<BR> 94Interface Annotations</H2> 95<DL> 96<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotationMap.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotationMap</A></DD> 97</DL> 98<HR> 99<DL> 100<DT><PRE>public interface <B>Annotations</B></DL> 101</PRE> 102 103<P> 104Interface that defines interface for accessing contents of a 105 collection of annotations. This is needed when introspecting 106 annotation-based features from different kinds of things, not 107 just objects that Java Reflection interface exposes. 108<p> 109 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> 110<P> 111 112<P> 113<HR> 114 115<P> 116 117<!-- ========== METHOD SUMMARY =========== --> 118 119<A NAME="method_summary"><!-- --></A> 120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 121<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 122<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 123<B>Method Summary</B></FONT></TH> 124</TR> 125<TR BGCOLOR="white" CLASS="TableRowColor"> 126<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 127<CODE> 128<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 129<TR ALIGN="right" VALIGN=""> 130<TD NOWRAP><FONT SIZE="-1"> 131<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>> 132<BR> 133A</CODE></FONT></TD> 134</TR> 135</TABLE> 136</CODE></FONT></TD> 137<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#get(java.lang.Class)">get</A></B>(<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> 138 139<BR> 140 Main access method used to find value for given annotation.</TD> 141</TR> 142<TR BGCOLOR="white" CLASS="TableRowColor"> 143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 144<CODE> int</CODE></FONT></TD> 145<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/util/Annotations.html#size()">size</A></B>()</CODE> 146 147<BR> 148 Returns number of annotation entries in this collection.</TD> 149</TR> 150</TABLE> 151 152<P> 153 154<!-- ============ METHOD DETAIL ========== --> 155 156<A NAME="method_detail"><!-- --></A> 157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 158<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 159<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 160<B>Method Detail</B></FONT></TH> 161</TR> 162</TABLE> 163 164<A NAME="get(java.lang.Class)"><!-- --></A><H3> 165get</H3> 166<PRE> 167<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 <B>get</B>(<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> 168<DL> 169<DD>Main access method used to find value for given annotation. 170<P> 171<DD><DL> 172</DL> 173</DD> 174</DL> 175<HR> 176 177<A NAME="size()"><!-- --></A><H3> 178size</H3> 179<PRE> 180int <B>size</B>()</PRE> 181<DL> 182<DD>Returns number of annotation entries in this collection. 183<P> 184<DD><DL> 185</DL> 186</DD> 187</DL> 188<!-- ========= END OF CLASS DATA ========= --> 189<HR> 190 191 192<!-- ======= START OF BOTTOM NAVBAR ====== --> 193<A NAME="navbar_bottom"><!-- --></A> 194<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 195<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 196<TR> 197<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 198<A NAME="navbar_bottom_firstrow"><!-- --></A> 199<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 200 <TR ALIGN="center" VALIGN="top"> 201 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 202 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 203 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 204 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Annotations.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 205 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 206 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 207 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 208 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 209 </TR> 210</TABLE> 211</TD> 212<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 213</EM> 214</TD> 215</TR> 216 217<TR> 218<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 219 PREV CLASS 220 <A HREF="../../../../../com/fasterxml/jackson/databind/util/ArrayBuilders.html" title="class in com.fasterxml.jackson.databind.util"><B>NEXT CLASS</B></A></FONT></TD> 221<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 222 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/util/Annotations.html" target="_top"><B>FRAMES</B></A> 223 <A HREF="Annotations.html" target="_top"><B>NO FRAMES</B></A> 224 <SCRIPT type="text/javascript"> 225 <!-- 226 if(window==top) { 227 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 228 } 229 //--> 230</SCRIPT> 231<NOSCRIPT> 232 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 233</NOSCRIPT> 234 235 236</FONT></TD> 237</TR> 238<TR> 239<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 240 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 241<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 242DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 243</TR> 244</TABLE> 245<A NAME="skip-navbar_bottom"></A> 246<!-- ======== END OF BOTTOM NAVBAR ======= --> 247 248<HR> 249Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 250</BODY> 251</HTML> 252