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> 7TypeQualifierValidator 8</TITLE> 9 10<META NAME="keywords" CONTENT="javax.annotation.meta.TypeQualifierValidator interface"> 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="TypeQualifierValidator"; 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/TypeQualifierNickname.html" title="annotation in javax.annotation.meta"><B>PREV CLASS</B></A> 55 <A HREF="../../../javax/annotation/meta/When.html" title="enum 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/TypeQualifierValidator.html" target="_top"><B>FRAMES</B></A> 58 <A HREF="TypeQualifierValidator.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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 77DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</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> 89Interface TypeQualifierValidator<A extends java.lang.annotation.Annotation></H2> 90<DL> 91<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../javax/annotation/MatchesPattern.Checker.html" title="class in javax.annotation">MatchesPattern.Checker</A>, <A HREF="../../../javax/annotation/Nonnegative.Checker.html" title="class in javax.annotation">Nonnegative.Checker</A>, <A HREF="../../../javax/annotation/Nonnull.Checker.html" title="class in javax.annotation">Nonnull.Checker</A>, <A HREF="../../../javax/annotation/RegEx.Checker.html" title="class in javax.annotation">RegEx.Checker</A></DD> 92</DL> 93<HR> 94<DL> 95<DT><PRE>public interface <B>TypeQualifierValidator<A extends java.lang.annotation.Annotation></B></DL> 96</PRE> 97 98<P> 99<HR> 100 101<P> 102 103<!-- ========== METHOD SUMMARY =========== --> 104 105<A NAME="method_summary"><!-- --></A> 106<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 107<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 108<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 109<B>Method Summary</B></FONT></TH> 110</TR> 111<TR BGCOLOR="white" CLASS="TableRowColor"> 112<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 113<CODE> <A HREF="../../../javax/annotation/meta/When.html" title="enum in javax.annotation.meta">When</A></CODE></FONT></TD> 114<TD><CODE><B><A HREF="../../../javax/annotation/meta/TypeQualifierValidator.html#forConstantValue(A, java.lang.Object)">forConstantValue</A></B>(<A HREF="../../../javax/annotation/meta/TypeQualifierValidator.html" title="type parameter in TypeQualifierValidator">A</A> annotation, 115 java.lang.Object value)</CODE> 116 117<BR> 118 Given a type qualifier, check to see if a known specific constant value 119 is an instance of the set of values denoted by the qualifier.</TD> 120</TR> 121</TABLE> 122 123<P> 124 125<!-- ============ METHOD DETAIL ========== --> 126 127<A NAME="method_detail"><!-- --></A> 128<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 129<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 130<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 131<B>Method Detail</B></FONT></TH> 132</TR> 133</TABLE> 134 135<A NAME="forConstantValue(java.lang.annotation.Annotation,java.lang.Object)"><!-- --></A><A NAME="forConstantValue(A, java.lang.Object)"><!-- --></A><H3> 136forConstantValue</H3> 137<PRE> 138<FONT SIZE="-1"><A HREF="../../../javax/annotation/Nonnull.html" title="annotation in javax.annotation">@Nonnull</A> 139</FONT><A HREF="../../../javax/annotation/meta/When.html" title="enum in javax.annotation.meta">When</A> <B>forConstantValue</B>(<FONT SIZE="-1"><A HREF="../../../javax/annotation/Nonnull.html" title="annotation in javax.annotation">@Nonnull</A></FONT> 140 <A HREF="../../../javax/annotation/meta/TypeQualifierValidator.html" title="type parameter in TypeQualifierValidator">A</A> annotation, 141 java.lang.Object value)</PRE> 142<DL> 143<DD>Given a type qualifier, check to see if a known specific constant value 144 is an instance of the set of values denoted by the qualifier. 145<P> 146<DD><DL> 147<DT><B>Parameters:</B><DD><CODE>annotation</CODE> - the type qualifier<DD><CODE>value</CODE> - the value to check 148<DT><B>Returns:</B><DD>a value indicating whether or not the value is an member of the 149 values denoted by the type qualifier</DL> 150</DD> 151</DL> 152<!-- ========= END OF CLASS DATA ========= --> 153<HR> 154 155 156<!-- ======= START OF BOTTOM NAVBAR ====== --> 157<A NAME="navbar_bottom"><!-- --></A> 158<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 159<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 160<TR> 161<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 162<A NAME="navbar_bottom_firstrow"><!-- --></A> 163<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 164 <TR ALIGN="center" VALIGN="top"> 165 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 166 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 167 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 168 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 169 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 170 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 171 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 172 </TR> 173</TABLE> 174</TD> 175<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 176</EM> 177</TD> 178</TR> 179 180<TR> 181<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 182 <A HREF="../../../javax/annotation/meta/TypeQualifierNickname.html" title="annotation in javax.annotation.meta"><B>PREV CLASS</B></A> 183 <A HREF="../../../javax/annotation/meta/When.html" title="enum in javax.annotation.meta"><B>NEXT CLASS</B></A></FONT></TD> 184<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 185 <A HREF="../../../index.html?javax/annotation/meta/TypeQualifierValidator.html" target="_top"><B>FRAMES</B></A> 186 <A HREF="TypeQualifierValidator.html" target="_top"><B>NO FRAMES</B></A> 187 <SCRIPT type="text/javascript"> 188 <!-- 189 if(window==top) { 190 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 191 } 192 //--> 193</SCRIPT> 194<NOSCRIPT> 195 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 196</NOSCRIPT> 197 198 199</FONT></TD> 200</TR> 201<TR> 202<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 203 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 204<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 205DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 206</TR> 207</TABLE> 208<A NAME="skip-navbar_bottom"></A> 209<!-- ======== END OF BOTTOM NAVBAR ======= --> 210 211<HR> 212 213</BODY> 214</HTML> 215