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(Object value)
ValueStylerstyle in interface ValueStylervalue - the Object value to style