public class

DefaultValueStyler

extends Object
implements ValueStyler
java.lang.Object
   ↳ org.springframework.core.style.DefaultValueStyler

Class Overview

Converts objects to String form, generally for debugging purposes, using Spring's toString styling conventions.

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

Summary

Public Constructors
DefaultValueStyler()
Public Methods
String style(Object value)
Style the given value, returning a String representation.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.core.style.ValueStyler

Public Constructors

public DefaultValueStyler ()

Also: SpringCore

Public Methods

public String style (Object value)

Also: SpringCore

Style the given value, returning a String representation.

Parameters
value the Object value to style
Returns
  • the styled String