Class ObjectMappers

java.lang.Object
org.zkoss.clientbind.ui.util.ObjectMappers

public class ObjectMappers extends Object
Object Mappers utils.
Author:
jameschu
  • Field Details

    • IGNORE_FIRST_LIST_ID

      public static final String 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

      public static <T> T convert(Object data, Class<? extends T> type)
      Converts any given data into the given type if possible. All unknown fields are ignored.
    • convert

      public static <T> T convert(ClientBindComposer composer, Object data, ParameterizedType type)
    • isPropertyLoadStringType

      public static final boolean isPropertyLoadStringType(Class<?> compClz, String field)