net.sf.json.processors
Class JsonBeanProcessorMatcher

java.lang.Object
  extended by net.sf.json.processors.JsonBeanProcessorMatcher

public abstract class JsonBeanProcessorMatcher
extends Object

Base class for finding a matching JsonBeanProcessor.

Author:
Andres Almiray

Field Summary
static JsonBeanProcessorMatcher DEFAULT
          Matches the target with equals()
 
Constructor Summary
JsonBeanProcessorMatcher()
           
 
Method Summary
abstract  Object getMatch(Class target, Set set)
          Returns the matching class calculated with the target class and the provided set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final JsonBeanProcessorMatcher DEFAULT
Matches the target with equals()

Constructor Detail

JsonBeanProcessorMatcher

public JsonBeanProcessorMatcher()
Method Detail

getMatch

public abstract Object getMatch(Class target,
                                Set set)
Returns the matching class calculated with the target class and the provided set.

Parameters:
target - the target class to match
set - a set of possible matches