org.codehaus.jackson.map.introspect
Class BasicClassIntrospector.SetterMethodFilter

java.lang.Object
  extended by org.codehaus.jackson.map.introspect.BasicClassIntrospector.SetterMethodFilter
All Implemented Interfaces:
MethodFilter
Direct Known Subclasses:
BasicClassIntrospector.SetterAndGetterMethodFilter
Enclosing class:
BasicClassIntrospector

public static class BasicClassIntrospector.SetterMethodFilter
extends Object
implements MethodFilter

Filter used to only include methods that have signature that is compatible with "setters": take one and only argument and are non-static.

Actually, also need to include 2-arg methods to support "any setters"; as well as 0-arg getters as long as they return Collection or Map type.


Field Summary
static BasicClassIntrospector.SetterMethodFilter instance
           
 
Constructor Summary
BasicClassIntrospector.SetterMethodFilter()
           
 
Method Summary
 boolean includeMethod(Method m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final BasicClassIntrospector.SetterMethodFilter instance
Constructor Detail

BasicClassIntrospector.SetterMethodFilter

public BasicClassIntrospector.SetterMethodFilter()
Method Detail

includeMethod

public boolean includeMethod(Method m)
Specified by:
includeMethod in interface MethodFilter