net.sf.json.processors
Class JsonValueProcessorMatcher

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

public abstract class JsonValueProcessorMatcher
extends Object

Base class for finding a matching JsonValueProcessor.

Author:
Andres Almiray

Field Summary
static JsonValueProcessorMatcher DEFAULT
          Matches the target with equals()
 
Constructor Summary
JsonValueProcessorMatcher()
           
 
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 JsonValueProcessorMatcher DEFAULT
Matches the target with equals()

Constructor Detail

JsonValueProcessorMatcher

public JsonValueProcessorMatcher()
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