net.sf.json.processors
Class JsonValueProcessorMatcher
java.lang.Object
net.sf.json.processors.JsonValueProcessorMatcher
public abstract class JsonValueProcessorMatcher
- extends Object
Base class for finding a matching JsonValueProcessor.
- DEFAULT - matches the target class with equals().
- Author:
- Andres Almiray
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 |
DEFAULT
public static final JsonValueProcessorMatcher DEFAULT
- Matches the target with equals()
JsonValueProcessorMatcher
public JsonValueProcessorMatcher()
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 matchset
- a set of possible matches