Note that 2.7 changed handling to slightly less dynamic, to avoid having to traverse class hierarchy, which turned to be a performance issue in certain cases. Since DOM classes are assumed to exist on all Java 1.6 environments (yes, even on Android/GAE), this part could be simplified by slightly less dynamic lookups.
Also with 2.7 we are supporting JDK 1.7/Java 7 type(s).
| Modifier and Type | Field and Description |
|---|---|
| private static final Java7Handlers | |
| private final Map | |
| private final Map | |
| private static final Class | |
| private static final Class | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| public static final OptionalHandlerFactory | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public JsonDeserializer | |
| public JsonSerializer | |
| public boolean | |
| private boolean | hasSuperClassStartingWith(Class<?> rawType, String prefix)
Since 2.7 we only need to check for class extension, as all implemented types are classes, not interfaces. |
| private Object | |
| private Object |
| _jdk7Helper | back to summary |
|---|---|
| private static final Java7Handlers _jdk7Helper | |
| _sqlDeserializers | back to summary |
|---|---|
| private final Map<String, String> _sqlDeserializers | |
| _sqlSerializers | back to summary |
|---|---|
| private final Map<String, Object> _sqlSerializers | |
| CLASS_DOM_DOCUMENT | back to summary |
|---|---|
| private static final Class<?> CLASS_DOM_DOCUMENT | |
| CLASS_DOM_NODE | back to summary |
|---|---|
| private static final Class<?> CLASS_DOM_NODE | |
| CLS_NAME_JAVA_SQL_BLOB | back to summary |
|---|---|
| private static final String CLS_NAME_JAVA_SQL_BLOB | |
| CLS_NAME_JAVA_SQL_DATE | back to summary |
|---|---|
| private static final String CLS_NAME_JAVA_SQL_DATE | |
| CLS_NAME_JAVA_SQL_SERIALBLOB | back to summary |
|---|---|
| private static final String CLS_NAME_JAVA_SQL_SERIALBLOB | |
| CLS_NAME_JAVA_SQL_TIME | back to summary |
|---|---|
| private static final String CLS_NAME_JAVA_SQL_TIME | |
| CLS_NAME_JAVA_SQL_TIMESTAMP | back to summary |
|---|---|
| private static final String CLS_NAME_JAVA_SQL_TIMESTAMP | |
| DESERIALIZER_FOR_DOM_DOCUMENT | back to summary |
|---|---|
| private static final String DESERIALIZER_FOR_DOM_DOCUMENT | |
| DESERIALIZER_FOR_DOM_NODE | back to summary |
|---|---|
| private static final String DESERIALIZER_FOR_DOM_NODE | |
| DESERIALIZERS_FOR_JAVAX_XML | back to summary |
|---|---|
| private static final String DESERIALIZERS_FOR_JAVAX_XML | |
| instance | back to summary |
|---|---|
| public static final OptionalHandlerFactory instance | |
| PACKAGE_PREFIX_JAVAX_XML | back to summary |
|---|---|
| private static final String PACKAGE_PREFIX_JAVAX_XML | |
| SERIALIZER_FOR_DOM_NODE | back to summary |
|---|---|
| private static final String SERIALIZER_FOR_DOM_NODE | |
| SERIALIZERS_FOR_JAVAX_XML | back to summary |
|---|---|
| private static final String SERIALIZERS_FOR_JAVAX_XML | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| OptionalHandlerFactory | back to summary |
|---|---|
| protected OptionalHandlerFactory() | |
| _IsXOfY | back to summary |
|---|---|
| private boolean _IsXOfY(Class<?> valueType, Class<?> expType) | |
| findDeserializer | back to summary |
|---|---|
| public JsonDeserializer | |
| findSerializer | back to summary |
|---|---|
| public JsonSerializer | |
| hasDeserializerFor | back to summary |
|---|---|
| public boolean hasDeserializerFor(Class<?> valueType) | |
| hasSuperClassStartingWith | back to summary |
|---|---|
| private boolean hasSuperClassStartingWith(Class<?> rawType, String prefix) Since 2.7 we only need to check for class extension, as all implemented types are classes, not interfaces. This has performance implications for some cases, as we do not need to go over interfaces implemented, just superclasses
| |
| instantiate | back to summary |
|---|---|
| private Object instantiate(String className, JavaType valueType) | |
| instantiate | back to summary |
|---|---|
| private Object instantiate(Class<?> handlerClass, JavaType valueType) | |