public class TypeJsonParserMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected TypeCache<TypeJsonParser> |
map |
Constructor and Description |
---|
TypeJsonParserMap() |
Modifier and Type | Method and Description |
---|---|
static TypeJsonParserMap |
get()
Returns default instance.
|
TypeJsonParser |
lookup(java.lang.Class type)
Lookups for the
parser for given type. |
void |
register(java.lang.Class type,
TypeJsonParser typeJsonParser)
Registers new parser.
|
protected final TypeCache<TypeJsonParser> map
public static TypeJsonParserMap get()
public void register(java.lang.Class type, TypeJsonParser typeJsonParser)
public TypeJsonParser lookup(java.lang.Class type)
parser
for given type.Copyright © 2003-present Jodd Team