# Uses of Class
org.apache.commons.lang3.builder.ToStringStyle

Packages that use ToStringStyle
Package
Description
org.apache.commons.lang3.builder
Provides classes to create consistent `equals(Object)`, `toString()`, `hashCode()`, and `compareTo(Object)` methods.

- ## Uses of ToStringStyle in org.apache.commons.lang3.builder

  Subclasses of ToStringStyle in org.apache.commons.lang3.builder
  Modifier and Type
  Class
  Description
  `class`
  `MultilineRecursiveToStringStyle`
  Works with `ToStringBuilder` to create a "deep" `toString`.
  `class`
  `RecursiveToStringStyle`
  Works with `ToStringBuilder` to create a "deep" `toString`.
  `class`
  `StandardToStringStyle`
  Works with `ToStringBuilder` to create a `toString`.
  Fields in org.apache.commons.lang3.builder declared as ToStringStyle
  Modifier and Type
  Field
  Description
  `static final ToStringStyle`
  ToStringStyle.`DEFAULT_STYLE`
  The default toString style.
  `static final ToStringStyle`
  ToStringStyle.`JSON_STYLE`
  The JSON toString style.
  `static final ToStringStyle`
  ToStringStyle.`MULTI_LINE_STYLE`
  The multi line toString style.
  `static final ToStringStyle`
  ToStringStyle.`NO_CLASS_NAME_STYLE`
  The no class name toString style.
  `static final ToStringStyle`
  ToStringStyle.`NO_FIELD_NAMES_STYLE`
  The no field names toString style.
  `static final ToStringStyle`
  ToStringStyle.`SHORT_PREFIX_STYLE`
  The short prefix toString style.
  `static final ToStringStyle`
  ToStringStyle.`SIMPLE_STYLE`
  The simple toString style.
  Methods in org.apache.commons.lang3.builder that return ToStringStyle
  Modifier and Type
  Method
  Description
  `static ToStringStyle`
  ToStringBuilder.`getDefaultStyle()`
  Gets the default `ToStringStyle` to use.
  `ToStringStyle`
  ToStringBuilder.`getStyle()`
  Gets the `ToStringStyle` being used.
  `ToStringStyle`
  DiffResult.`getToStringStyle()`
  Gets the style used by the `DiffResult.toString()` method.
  Methods in org.apache.commons.lang3.builder with parameters of type ToStringStyle
  Modifier and Type
  Method
  Description
  `static String`
  ToStringBuilder.`reflectionToString(Object object, ToStringStyle style)`
  Uses `ReflectionToStringBuilder` to generate a `toString` for the specified object.
  `static String`
  ToStringBuilder.`reflectionToString(Object object, ToStringStyle style, boolean outputTransients)`
  Uses `ReflectionToStringBuilder` to generate a `toString` for the specified object.
  `static <T> String`
  ToStringBuilder.`reflectionToString(T object, ToStringStyle style, boolean outputTransients, Class<? super T> reflectUpToClass)`
  Uses `ReflectionToStringBuilder` to generate a `toString` for the specified object.
  `static void`
  ToStringBuilder.`setDefaultStyle(ToStringStyle style)`
  Sets the default `ToStringStyle` to use.
  `DiffBuilder.Builder<T>`
  DiffBuilder.Builder.`setStyle(ToStringStyle style)`
  Sets the style will to use when outputting the objects, `null` uses the default.
  `String`
  DiffResult.`toString(ToStringStyle style)`
  Builds a `String` description of the differences contained within this `DiffResult`, using the supplied `ToStringStyle`.
  `static String`
  ReflectionToStringBuilder.`toString(Object object, ToStringStyle style)`
  Builds a `toString` value through reflection.
  `static String`
  ReflectionToStringBuilder.`toString(Object object, ToStringStyle style, boolean outputTransients)`
  Builds a `toString` value through reflection.
  `static String`
  ReflectionToStringBuilder.`toString(Object object, ToStringStyle style, boolean outputTransients, boolean outputStatics)`
  Builds a `toString` value through reflection.
  `static <T> String`
  ReflectionToStringBuilder.`toString(T object, ToStringStyle style, boolean outputTransients, boolean outputStatics, boolean excludeNullValues, Class<? super T> reflectUpToClass)`
  Builds a `toString` value through reflection.
  `static <T> String`
  ReflectionToStringBuilder.`toString(T object, ToStringStyle style, boolean outputTransients, boolean outputStatics, Class<? super T> reflectUpToClass)`
  Builds a `toString` value through reflection.
  Constructors in org.apache.commons.lang3.builder with parameters of type ToStringStyle
  Modifier
  Constructor
  Description
  ``
  `DiffBuilder(T left, T right, ToStringStyle style)`
  Deprecated.
  Use `DiffBuilder.Builder`.
  ``
  `DiffBuilder(T left, T right, ToStringStyle style, boolean testObjectsEquals)`
  Deprecated.
  Use `DiffBuilder.Builder`.
  ``
  `ReflectionDiffBuilder(T left, T right, ToStringStyle style)`
  Deprecated.
  Use `ReflectionDiffBuilder.Builder`.
  ``
  `ReflectionToStringBuilder(Object object, ToStringStyle style)`
  Constructs a new instance.
  ``
  `ReflectionToStringBuilder(Object object, ToStringStyle style, StringBuffer buffer)`
  Constructs a new instance.
  ``
  `ReflectionToStringBuilder(T object, ToStringStyle style, StringBuffer buffer, Class<? super T> reflectUpToClass, boolean outputTransients, boolean outputStatics)`
  Constructs a new instance.
  ``
  `ReflectionToStringBuilder(T object, ToStringStyle style, StringBuffer buffer, Class<? super T> reflectUpToClass, boolean outputTransients, boolean outputStatics, boolean excludeNullValues)`
  Constructs a new instance.
  ``
  `ToStringBuilder(Object object, ToStringStyle style)`
  Constructs a builder for the specified object using the defined output style.
  ``
  `ToStringBuilder(Object object, ToStringStyle style, StringBuffer buffer)`
  Constructs a builder for the specified object.