org.thymeleaf.util
Class ObjectUtils

Object
  extended by org.thymeleaf.util.ObjectUtils

public final class ObjectUtils
extends Object

Since:
1.0
Author:
Daniel Fernández

Method Summary
static Object[] convertToArray(Object value)
          Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.
static List<Object> convertToIterable(Object value)
          Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.
static List<Object> convertToList(Object value)
          Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.
static boolean evaluateAsBoolean(Object condition)
          Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.
static BigDecimal evaluateAsNumber(Object object)
          Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.
static
<T> T
nullSafe(T target, T defaultValue)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nullSafe

public static <T> T nullSafe(T target,
                             T defaultValue)

evaluateAsBoolean

@Deprecated
public static boolean evaluateAsBoolean(Object condition)
Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.


evaluateAsNumber

@Deprecated
public static BigDecimal evaluateAsNumber(Object object)
Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.


convertToIterable

@Deprecated
public static List<Object> convertToIterable(Object value)
Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.


convertToList

@Deprecated
public static List<Object> convertToList(Object value)
Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.


convertToArray

@Deprecated
public static Object[] convertToArray(Object value)
Deprecated. since 2.1, you should use the IStandardConversionService implementation corresponding to the dialect you are using or the methods in EvaluationUtil. Will be removed in 3.0.



Copyright © 2013 The THYMELEAF team. All Rights Reserved.