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_29) on Mon Mar 26 19:07:16 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8VisibilityChecker (jackson-databind 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 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="VisibilityChecker (jackson-databind 2.0.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/VisibilityChecker.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 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/POJOPropertyBuilder.html" title="class in com.fasterxml.jackson.databind.introspect"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect"><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/introspect/VisibilityChecker.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="VisibilityChecker.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: <A HREF="#nested_class_summary">NESTED</A> | 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.introspect</FONT> 93<BR> 94Interface VisibilityChecker<T extends VisibilityChecker<T>></H2> 95<DL> 96<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect">VisibilityChecker.Std</A></DD> 97</DL> 98<HR> 99<DL> 100<DT><PRE>public interface <B>VisibilityChecker<T extends VisibilityChecker<T>></B></DL> 101</PRE> 102 103<P> 104Interface for object used for determine which property elements 105 (methods, fields, constructors) can be auto-detected, with respect 106 to their visibility modifiers. 107<p> 108 Note on type declaration: funky recursive type is necessary to 109 support builder/fluent pattern. 110<P> 111 112<P> 113<DL> 114<DT><B>Author:</B></DT> 115 <DD>tatu</DD> 116</DL> 117<HR> 118 119<P> 120<!-- ======== NESTED CLASS SUMMARY ======== --> 121 122<A NAME="nested_class_summary"><!-- --></A> 123<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 124<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 125<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 126<B>Nested Class Summary</B></FONT></TH> 127</TR> 128<TR BGCOLOR="white" CLASS="TableRowColor"> 129<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 130<CODE>static class</CODE></FONT></TD> 131<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect">VisibilityChecker.Std</A></B></CODE> 132 133<BR> 134 Default standard implementation is purely based on visibility 135 modifier of given class members, and its configured minimum 136 levels.</TD> 137</TR> 138</TABLE> 139 140<!-- ========== METHOD SUMMARY =========== --> 141 142<A NAME="method_summary"><!-- --></A> 143<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 144<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 145<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 146<B>Method Summary</B></FONT></TH> 147</TR> 148<TR BGCOLOR="white" CLASS="TableRowColor"> 149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 150<CODE> boolean</CODE></FONT></TD> 151<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isCreatorVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMember)">isCreatorVisible</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> m)</CODE> 152 153<BR> 154 </TD> 155</TR> 156<TR BGCOLOR="white" CLASS="TableRowColor"> 157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 158<CODE> boolean</CODE></FONT></TD> 159<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isCreatorVisible(java.lang.reflect.Member)">isCreatorVisible</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</A> m)</CODE> 160 161<BR> 162 Method for checking whether given method is auto-detectable 163 as Creator, with respect to its visibility (not considering 164 method signature or name, just visibility)</TD> 165</TR> 166<TR BGCOLOR="white" CLASS="TableRowColor"> 167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 168<CODE> boolean</CODE></FONT></TD> 169<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isFieldVisible(com.fasterxml.jackson.databind.introspect.AnnotatedField)">isFieldVisible</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</A> f)</CODE> 170 171<BR> 172 </TD> 173</TR> 174<TR BGCOLOR="white" CLASS="TableRowColor"> 175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 176<CODE> boolean</CODE></FONT></TD> 177<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isFieldVisible(java.lang.reflect.Field)">isFieldVisible</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</A> f)</CODE> 178 179<BR> 180 Method for checking whether given field is auto-detectable 181 as property, with respect to its visibility (not considering 182 method signature or name, just visibility)</TD> 183</TR> 184<TR BGCOLOR="white" CLASS="TableRowColor"> 185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 186<CODE> boolean</CODE></FONT></TD> 187<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isGetterVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)">isGetterVisible</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</A> m)</CODE> 188 189<BR> 190 </TD> 191</TR> 192<TR BGCOLOR="white" CLASS="TableRowColor"> 193<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 194<CODE> boolean</CODE></FONT></TD> 195<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isGetterVisible(java.lang.reflect.Method)">isGetterVisible</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A> m)</CODE> 196 197<BR> 198 Method for checking whether given method is auto-detectable 199 as regular getter, with respect to its visibility (not considering 200 method signature or name, just visibility)</TD> 201</TR> 202<TR BGCOLOR="white" CLASS="TableRowColor"> 203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 204<CODE> boolean</CODE></FONT></TD> 205<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isIsGetterVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)">isIsGetterVisible</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</A> m)</CODE> 206 207<BR> 208 </TD> 209</TR> 210<TR BGCOLOR="white" CLASS="TableRowColor"> 211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 212<CODE> boolean</CODE></FONT></TD> 213<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isIsGetterVisible(java.lang.reflect.Method)">isIsGetterVisible</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A> m)</CODE> 214 215<BR> 216 Method for checking whether given method is auto-detectable 217 as is-getter, with respect to its visibility (not considering 218 method signature or name, just visibility)</TD> 219</TR> 220<TR BGCOLOR="white" CLASS="TableRowColor"> 221<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 222<CODE> boolean</CODE></FONT></TD> 223<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isSetterVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)">isSetterVisible</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</A> m)</CODE> 224 225<BR> 226 </TD> 227</TR> 228<TR BGCOLOR="white" CLASS="TableRowColor"> 229<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 230<CODE> boolean</CODE></FONT></TD> 231<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#isSetterVisible(java.lang.reflect.Method)">isSetterVisible</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A> m)</CODE> 232 233<BR> 234 Method for checking whether given method is auto-detectable 235 as setter, with respect to its visibility (not considering 236 method signature or name, just visibility)</TD> 237</TR> 238<TR BGCOLOR="white" CLASS="TableRowColor"> 239<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 240<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 241<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#with(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)">with</A></B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</CODE> 242 243<BR> 244 Builder method that will create and return an instance that has specified 245 <CODE>JsonAutoDetect.Visibility</CODE> value to use for all property elements.</TD> 246</TR> 247<TR BGCOLOR="white" CLASS="TableRowColor"> 248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 249<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 250<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#with(com.fasterxml.jackson.annotation.JsonAutoDetect)">with</A></B>(com.fasterxml.jackson.annotation.JsonAutoDetect ann)</CODE> 251 252<BR> 253 Builder method that will return an instance that has same 254 settings as this instance has, except for values that 255 given annotation overrides.</TD> 256</TR> 257<TR BGCOLOR="white" CLASS="TableRowColor"> 258<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 259<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 260<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withCreatorVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)">withCreatorVisibility</A></B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</CODE> 261 262<BR> 263 Builder method that will return a checker instance that has 264 specified minimum visibility level for creator methods 265 (constructors, factory methods)</TD> 266</TR> 267<TR BGCOLOR="white" CLASS="TableRowColor"> 268<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 269<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 270<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withFieldVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)">withFieldVisibility</A></B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</CODE> 271 272<BR> 273 Builder method that will return a checker instance that has 274 specified minimum visibility level for fields.</TD> 275</TR> 276<TR BGCOLOR="white" CLASS="TableRowColor"> 277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 278<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 279<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withGetterVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)">withGetterVisibility</A></B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</CODE> 280 281<BR> 282 Builder method that will return a checker instance that has 283 specified minimum visibility level for regular ("getXxx") getters.</TD> 284</TR> 285<TR BGCOLOR="white" CLASS="TableRowColor"> 286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 287<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 288<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withIsGetterVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)">withIsGetterVisibility</A></B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</CODE> 289 290<BR> 291 Builder method that will return a checker instance that has 292 specified minimum visibility level for "is-getters" ("isXxx").</TD> 293</TR> 294<TR BGCOLOR="white" CLASS="TableRowColor"> 295<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 296<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 297<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withSetterVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)">withSetterVisibility</A></B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</CODE> 298 299<BR> 300 Builder method that will return a checker instance that has 301 specified minimum visibility level for setters.</TD> 302</TR> 303<TR BGCOLOR="white" CLASS="TableRowColor"> 304<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 305<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A></CODE></FONT></TD> 306<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html#withVisibility(com.fasterxml.jackson.annotation.PropertyAccessor, com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)">withVisibility</A></B>(com.fasterxml.jackson.annotation.PropertyAccessor method, 307 com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</CODE> 308 309<BR> 310 Builder method that will create and return an instance that has specified 311 <CODE>JsonAutoDetect.Visibility</CODE> value to use for specified property.</TD> 312</TR> 313</TABLE> 314 315<P> 316 317<!-- ============ METHOD DETAIL ========== --> 318 319<A NAME="method_detail"><!-- --></A> 320<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 321<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 322<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 323<B>Method Detail</B></FONT></TH> 324</TR> 325</TABLE> 326 327<A NAME="with(com.fasterxml.jackson.annotation.JsonAutoDetect)"><!-- --></A><H3> 328with</H3> 329<PRE> 330<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>with</B>(com.fasterxml.jackson.annotation.JsonAutoDetect ann)</PRE> 331<DL> 332<DD>Builder method that will return an instance that has same 333 settings as this instance has, except for values that 334 given annotation overrides. 335<P> 336<DD><DL> 337</DL> 338</DD> 339</DL> 340<HR> 341 342<A NAME="with(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)"><!-- --></A><H3> 343with</H3> 344<PRE> 345<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>with</B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</PRE> 346<DL> 347<DD>Builder method that will create and return an instance that has specified 348 <CODE>JsonAutoDetect.Visibility</CODE> value to use for all property elements. 349 Typical usage would be something like: 350<pre> 351 mapper.setVisibilityChecker( 352 mapper.getVisibilityChecker().with(Visibility.NONE)); 353</pre> 354 (which would basically disable all auto-detection) 355<P> 356<DD><DL> 357</DL> 358</DD> 359</DL> 360<HR> 361 362<A NAME="withVisibility(com.fasterxml.jackson.annotation.PropertyAccessor, com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)"><!-- --></A><H3> 363withVisibility</H3> 364<PRE> 365<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>withVisibility</B>(com.fasterxml.jackson.annotation.PropertyAccessor method, 366 com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</PRE> 367<DL> 368<DD>Builder method that will create and return an instance that has specified 369 <CODE>JsonAutoDetect.Visibility</CODE> value to use for specified property. 370 Typical usage would be: 371<pre> 372 mapper.setVisibilityChecker( 373 mapper.getVisibilityChecker().withVisibility(JsonMethod.FIELD, Visibility.ANY)); 374</pre> 375 (which would basically enable auto-detection for all member fields) 376<P> 377<DD><DL> 378</DL> 379</DD> 380</DL> 381<HR> 382 383<A NAME="withGetterVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)"><!-- --></A><H3> 384withGetterVisibility</H3> 385<PRE> 386<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>withGetterVisibility</B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</PRE> 387<DL> 388<DD>Builder method that will return a checker instance that has 389 specified minimum visibility level for regular ("getXxx") getters. 390<P> 391<DD><DL> 392</DL> 393</DD> 394</DL> 395<HR> 396 397<A NAME="withIsGetterVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)"><!-- --></A><H3> 398withIsGetterVisibility</H3> 399<PRE> 400<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>withIsGetterVisibility</B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</PRE> 401<DL> 402<DD>Builder method that will return a checker instance that has 403 specified minimum visibility level for "is-getters" ("isXxx"). 404<P> 405<DD><DL> 406</DL> 407</DD> 408</DL> 409<HR> 410 411<A NAME="withSetterVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)"><!-- --></A><H3> 412withSetterVisibility</H3> 413<PRE> 414<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>withSetterVisibility</B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</PRE> 415<DL> 416<DD>Builder method that will return a checker instance that has 417 specified minimum visibility level for setters. 418<P> 419<DD><DL> 420</DL> 421</DD> 422</DL> 423<HR> 424 425<A NAME="withCreatorVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)"><!-- --></A><H3> 426withCreatorVisibility</H3> 427<PRE> 428<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>withCreatorVisibility</B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</PRE> 429<DL> 430<DD>Builder method that will return a checker instance that has 431 specified minimum visibility level for creator methods 432 (constructors, factory methods) 433<P> 434<DD><DL> 435</DL> 436</DD> 437</DL> 438<HR> 439 440<A NAME="withFieldVisibility(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility)"><!-- --></A><H3> 441withFieldVisibility</H3> 442<PRE> 443<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" title="type parameter in VisibilityChecker">T</A> <B>withFieldVisibility</B>(com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility v)</PRE> 444<DL> 445<DD>Builder method that will return a checker instance that has 446 specified minimum visibility level for fields. 447<P> 448<DD><DL> 449</DL> 450</DD> 451</DL> 452<HR> 453 454<A NAME="isGetterVisible(java.lang.reflect.Method)"><!-- --></A><H3> 455isGetterVisible</H3> 456<PRE> 457boolean <B>isGetterVisible</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A> m)</PRE> 458<DL> 459<DD>Method for checking whether given method is auto-detectable 460 as regular getter, with respect to its visibility (not considering 461 method signature or name, just visibility) 462<P> 463<DD><DL> 464</DL> 465</DD> 466</DL> 467<HR> 468 469<A NAME="isGetterVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)"><!-- --></A><H3> 470isGetterVisible</H3> 471<PRE> 472boolean <B>isGetterVisible</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</A> m)</PRE> 473<DL> 474<DD><DL> 475</DL> 476</DD> 477</DL> 478<HR> 479 480<A NAME="isIsGetterVisible(java.lang.reflect.Method)"><!-- --></A><H3> 481isIsGetterVisible</H3> 482<PRE> 483boolean <B>isIsGetterVisible</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A> m)</PRE> 484<DL> 485<DD>Method for checking whether given method is auto-detectable 486 as is-getter, with respect to its visibility (not considering 487 method signature or name, just visibility) 488<P> 489<DD><DL> 490</DL> 491</DD> 492</DL> 493<HR> 494 495<A NAME="isIsGetterVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)"><!-- --></A><H3> 496isIsGetterVisible</H3> 497<PRE> 498boolean <B>isIsGetterVisible</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</A> m)</PRE> 499<DL> 500<DD><DL> 501</DL> 502</DD> 503</DL> 504<HR> 505 506<A NAME="isSetterVisible(java.lang.reflect.Method)"><!-- --></A><H3> 507isSetterVisible</H3> 508<PRE> 509boolean <B>isSetterVisible</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A> m)</PRE> 510<DL> 511<DD>Method for checking whether given method is auto-detectable 512 as setter, with respect to its visibility (not considering 513 method signature or name, just visibility) 514<P> 515<DD><DL> 516</DL> 517</DD> 518</DL> 519<HR> 520 521<A NAME="isSetterVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMethod)"><!-- --></A><H3> 522isSetterVisible</H3> 523<PRE> 524boolean <B>isSetterVisible</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</A> m)</PRE> 525<DL> 526<DD><DL> 527</DL> 528</DD> 529</DL> 530<HR> 531 532<A NAME="isCreatorVisible(java.lang.reflect.Member)"><!-- --></A><H3> 533isCreatorVisible</H3> 534<PRE> 535boolean <B>isCreatorVisible</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Member.html?is-external=true" title="class or interface in java.lang.reflect">Member</A> m)</PRE> 536<DL> 537<DD>Method for checking whether given method is auto-detectable 538 as Creator, with respect to its visibility (not considering 539 method signature or name, just visibility) 540<P> 541<DD><DL> 542</DL> 543</DD> 544</DL> 545<HR> 546 547<A NAME="isCreatorVisible(com.fasterxml.jackson.databind.introspect.AnnotatedMember)"><!-- --></A><H3> 548isCreatorVisible</H3> 549<PRE> 550boolean <B>isCreatorVisible</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> m)</PRE> 551<DL> 552<DD><DL> 553</DL> 554</DD> 555</DL> 556<HR> 557 558<A NAME="isFieldVisible(java.lang.reflect.Field)"><!-- --></A><H3> 559isFieldVisible</H3> 560<PRE> 561boolean <B>isFieldVisible</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</A> f)</PRE> 562<DL> 563<DD>Method for checking whether given field is auto-detectable 564 as property, with respect to its visibility (not considering 565 method signature or name, just visibility) 566<P> 567<DD><DL> 568</DL> 569</DD> 570</DL> 571<HR> 572 573<A NAME="isFieldVisible(com.fasterxml.jackson.databind.introspect.AnnotatedField)"><!-- --></A><H3> 574isFieldVisible</H3> 575<PRE> 576boolean <B>isFieldVisible</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</A> f)</PRE> 577<DL> 578<DD><DL> 579</DL> 580</DD> 581</DL> 582<!-- ========= END OF CLASS DATA ========= --> 583<HR> 584 585 586<!-- ======= START OF BOTTOM NAVBAR ====== --> 587<A NAME="navbar_bottom"><!-- --></A> 588<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 589<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 590<TR> 591<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 592<A NAME="navbar_bottom_firstrow"><!-- --></A> 593<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 594 <TR ALIGN="center" VALIGN="top"> 595 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 596 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 597 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 598 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VisibilityChecker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 599 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 600 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 601 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 602 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 603 </TR> 604</TABLE> 605</TD> 606<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 607</EM> 608</TD> 609</TR> 610 611<TR> 612<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 613 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/POJOPropertyBuilder.html" title="class in com.fasterxml.jackson.databind.introspect"><B>PREV CLASS</B></A> 614 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/VisibilityChecker.Std.html" title="class in com.fasterxml.jackson.databind.introspect"><B>NEXT CLASS</B></A></FONT></TD> 615<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 616 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/introspect/VisibilityChecker.html" target="_top"><B>FRAMES</B></A> 617 <A HREF="VisibilityChecker.html" target="_top"><B>NO FRAMES</B></A> 618 <SCRIPT type="text/javascript"> 619 <!-- 620 if(window==top) { 621 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 622 } 623 //--> 624</SCRIPT> 625<NOSCRIPT> 626 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 627</NOSCRIPT> 628 629 630</FONT></TD> 631</TR> 632<TR> 633<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 634 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 635<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 636DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 637</TR> 638</TABLE> 639<A NAME="skip-navbar_bottom"></A> 640<!-- ======== END OF BOTTOM NAVBAR ======= --> 641 642<HR> 643Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 644</BODY> 645</HTML> 646