Package org.zkoss.clientbind.ui.util
Class ObjectMappers
java.lang.Object
org.zkoss.clientbind.ui.util.ObjectMappers
Object Mappers utils.
- Author:
- jameschu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final com.fasterxml.jackson.databind.ObjectMapperstatic final com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TConverts any given data into the given type if possible.static <T> Tconvert(ClientBindComposer composer, Object data, ParameterizedType type) static final com.fasterxml.jackson.databind.ObjectMappercreateGetterObjectMapper(ClientBindComposer composer) static final booleanisPropertyLoadStringType(Class<?> compClz, String field)
-
Field Details
-
IGNORE_FIRST_LIST_ID
- See Also:
-
SETTER_OBJECT_MAPPER
public static final com.fasterxml.jackson.databind.ObjectMapper SETTER_OBJECT_MAPPER -
SETTER_OBJECT_MAPPER_ON_FAIL
public static final com.fasterxml.jackson.databind.ObjectMapper SETTER_OBJECT_MAPPER_ON_FAIL
-
-
Constructor Details
-
ObjectMappers
public ObjectMappers()
-
-
Method Details
-
createGetterObjectMapper
public static final com.fasterxml.jackson.databind.ObjectMapper createGetterObjectMapper(ClientBindComposer composer) -
convert
Converts any given data into the given type if possible. All unknown fields are ignored. -
convert
-
isPropertyLoadStringType
-