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.5.0_16) on Tue Feb 03 09:28:21 PST 2009 --> 6<TITLE> 7TypeQualifier 8</TITLE> 9 10<META NAME="keywords" CONTENT="javax.annotation.meta.TypeQualifier class"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 parent.document.title="TypeQualifier"; 18} 19</SCRIPT> 20<NOSCRIPT> 21</NOSCRIPT> 22 23</HEAD> 24 25<BODY BGCOLOR="white" onload="windowTitle();"> 26 27 28<!-- ========= START OF TOP NAVBAR ======= --> 29<A NAME="navbar_top"><!-- --></A> 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32<TR> 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34<A NAME="navbar_top_firstrow"><!-- --></A> 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36 <TR ALIGN="center" VALIGN="top"> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 44 </TR> 45</TABLE> 46</TD> 47<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 48</EM> 49</TD> 50</TR> 51 52<TR> 53<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 54 <A HREF="../../../javax/annotation/meta/Exhaustive.html" title="annotation in javax.annotation.meta"><B>PREV CLASS</B></A> 55 <A HREF="../../../javax/annotation/meta/TypeQualifierDefault.html" title="annotation in javax.annotation.meta"><B>NEXT CLASS</B></A></FONT></TD> 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="../../../index.html?javax/annotation/meta/TypeQualifier.html" target="_top"><B>FRAMES</B></A> 58 <A HREF="TypeQualifier.html" target="_top"><B>NO FRAMES</B></A> 59 <SCRIPT type="text/javascript"> 60 <!-- 61 if(window==top) { 62 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 63 } 64 //--> 65</SCRIPT> 66<NOSCRIPT> 67 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 68</NOSCRIPT> 69 70 71</FONT></TD> 72</TR> 73<TR> 74<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 75 SUMMARY: REQUIRED | <A HREF="#annotation_type_optional_element_summary">OPTIONAL</A></FONT></TD> 76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 77DETAIL: <A HREF="#annotation_type_element_detail">ELEMENT</A></FONT></TD> 78</TR> 79</TABLE> 80<A NAME="skip-navbar_top"></A> 81<!-- ========= END OF TOP NAVBAR ========= --> 82 83<HR> 84<!-- ======== START OF CLASS DATA ======== --> 85<H2> 86<FONT SIZE="-1"> 87javax.annotation.meta</FONT> 88<BR> 89Annotation Type TypeQualifier</H2> 90<HR> 91<DL> 92<DT><PRE><FONT SIZE="-1">@Documented 93@Target(value=ANNOTATION_TYPE) 94@Retention(value=RUNTIME) 95</FONT>public @interface <B>TypeQualifier</B></DL> 96</PRE> 97 98<P> 99This qualifier is applied to an annotation to denote that the annotation 100 should be treated as a type qualifier. 101<P> 102 103<P> 104<HR> 105 106<P> 107<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== --> 108 109<A NAME="annotation_type_optional_element_summary"><!-- --></A> 110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 111<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 112<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 113<B>Optional Element Summary</B></FONT></TH> 114</TR> 115<TR BGCOLOR="white" CLASS="TableRowColor"> 116<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 117<CODE> java.lang.Class<?></CODE></FONT></TD> 118<TD><CODE><B><A HREF="../../../javax/annotation/meta/TypeQualifier.html#applicableTo()">applicableTo</A></B></CODE> 119 120<BR> 121 Describes the kinds of values the qualifier can be applied to.</TD> 122</TR> 123</TABLE> 124 125<P> 126<A NAME="applicableTo()"><!-- --></A><H3> 127applicableTo</H3> 128<PRE> 129public abstract java.lang.Class<?> <B>applicableTo</B></PRE> 130<DL> 131<DD>Describes the kinds of values the qualifier can be applied to. If a 132 numeric class is provided (e.g., Number.class or Integer.class) then the 133 annotation can also be applied to the corresponding primitive numeric 134 types. 135<P> 136<DD><DL> 137</DL> 138</DD> 139<DD><DL> 140</DL> 141<DL> 142<DT><B>Default:</B><DD>java.lang.Object.class</DD> 143</DL> 144</DL> 145<!-- ========= END OF CLASS DATA ========= --> 146<HR> 147 148 149<!-- ======= START OF BOTTOM NAVBAR ====== --> 150<A NAME="navbar_bottom"><!-- --></A> 151<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 152<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 153<TR> 154<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 155<A NAME="navbar_bottom_firstrow"><!-- --></A> 156<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 157 <TR ALIGN="center" VALIGN="top"> 158 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 159 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 160 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 161 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 162 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 163 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 164 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 165 </TR> 166</TABLE> 167</TD> 168<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 169</EM> 170</TD> 171</TR> 172 173<TR> 174<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 175 <A HREF="../../../javax/annotation/meta/Exhaustive.html" title="annotation in javax.annotation.meta"><B>PREV CLASS</B></A> 176 <A HREF="../../../javax/annotation/meta/TypeQualifierDefault.html" title="annotation in javax.annotation.meta"><B>NEXT CLASS</B></A></FONT></TD> 177<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 178 <A HREF="../../../index.html?javax/annotation/meta/TypeQualifier.html" target="_top"><B>FRAMES</B></A> 179 <A HREF="TypeQualifier.html" target="_top"><B>NO FRAMES</B></A> 180 <SCRIPT type="text/javascript"> 181 <!-- 182 if(window==top) { 183 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 184 } 185 //--> 186</SCRIPT> 187<NOSCRIPT> 188 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 189</NOSCRIPT> 190 191 192</FONT></TD> 193</TR> 194<TR> 195<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 196 SUMMARY: REQUIRED | <A HREF="#annotation_type_optional_element_summary">OPTIONAL</A></FONT></TD> 197<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 198DETAIL: <A HREF="#annotation_type_element_detail">ELEMENT</A></FONT></TD> 199</TR> 200</TABLE> 201<A NAME="skip-navbar_bottom"></A> 202<!-- ======== END OF BOTTOM NAVBAR ======= --> 203 204<HR> 205 206</BODY> 207</HTML> 208