类 DefaultValueStyler

java.lang.Object
cn.taketoday.core.style.DefaultValueStyler
所有已实现的接口:
ValueStyler

public class DefaultValueStyler extends Object implements ValueStyler
Converts objects to String form, generally for debugging purposes, using default toString styling conventions.

Uses the reflective visitor pattern underneath the hood to nicely encapsulate styling algorithms for each type of styled object.

从以下版本开始:
4.0
作者:
Keith Donald, Juergen Hoeller
  • 构造器详细资料

    • DefaultValueStyler

      public DefaultValueStyler()
  • 方法详细资料

    • style

      public String style(@Nullable Object value)
      从接口复制的说明: ValueStyler
      Style the given value, returning a String representation.
      指定者:
      style 在接口中 ValueStyler
      参数:
      value - the Object value to style
      返回:
      the styled String