public class DefaultValueStyler extends Object implements ValueStyler
toString
styling conventions.
Uses the reflective visitor pattern underneath the hood to nicely encapsulate styling algorithms for each type of styled object.
Constructor and Description |
---|
DefaultValueStyler() |
Modifier and Type | Method and Description |
---|---|
String |
style(Object value)
Style the given value, returning a String representation.
|
public String style(@Nullable Object value)
ValueStyler
style
in interface ValueStyler
value
- the Object value to style