Uses of Class
org.apache.commons.lang3.builder.ToStringStyle
-
Packages that use ToStringStyle Package Description org.apache.commons.lang3 Provides highly reusable utility methods, chiefly concerned with adding value to thejava.langclasses.org.apache.commons.lang3.builder Provides classes to create consistentequals(Object),toString(),hashCode(), andcompareTo(Object)methods. -
-
Uses of ToStringStyle in org.apache.commons.lang3
Fields in org.apache.commons.lang3 declared as ToStringStyle Modifier and Type Field Description private static ToStringStyleAnnotationUtils. TO_STRING_STYLEA style that prints annotations as recommended. -
Uses of ToStringStyle in org.apache.commons.lang3.builder
Subclasses of ToStringStyle in org.apache.commons.lang3.builder Modifier and Type Class Description classMultilineRecursiveToStringStyleWorks withToStringBuilderto create a "deep"toString.classRecursiveToStringStyleWorks withToStringBuilderto create a "deep"toString.classStandardToStringStyleWorks withToStringBuilderto create atoString.private static classToStringStyle.DefaultToStringStyleDefaultToStringStyle.private static classToStringStyle.JsonToStringStyleToStringStylethat outputs with JSON format.private static classToStringStyle.MultiLineToStringStyleToStringStylethat outputs on multiple lines.private static classToStringStyle.NoClassNameToStringStyleToStringStylethat does not print out the class name and identity hash code but prints content start and field names.private static classToStringStyle.NoFieldNameToStringStyleToStringStylethat does not print out the field names.private static classToStringStyle.ShortPrefixToStringStyleToStringStylethat prints out the short class name and no identity hash code.private static classToStringStyle.SimpleToStringStyleToStringStylethat does not print out the class name, identity hash code, content start or field name.Fields in org.apache.commons.lang3.builder declared as ToStringStyle Modifier and Type Field Description static ToStringStyleToStringStyle. DEFAULT_STYLEThe default toString style.private static ToStringStyleToStringBuilder. defaultStyleThe default style of output to use, not null.static ToStringStyleToStringStyle. JSON_STYLEThe JSON toString style.static ToStringStyleToStringStyle. MULTI_LINE_STYLEThe multi line toString style.static ToStringStyleToStringStyle. NO_CLASS_NAME_STYLEThe no class name toString style.static ToStringStyleToStringStyle. NO_FIELD_NAMES_STYLEThe no field names toString style.static ToStringStyleToStringStyle. SHORT_PREFIX_STYLEThe short prefix toString style.static ToStringStyleToStringStyle. SIMPLE_STYLEThe simple toString style.private ToStringStyleDiffBuilder.Builder. styleprivate ToStringStyleDiffBuilder. styleprivate ToStringStyleDiffResult. styleprivate ToStringStyleToStringBuilder. styleThe style of output to use, not null.Methods in org.apache.commons.lang3.builder that return ToStringStyle Modifier and Type Method Description static ToStringStyleToStringBuilder. getDefaultStyle()Gets the defaultToStringStyleto use.ToStringStyleToStringBuilder. getStyle()Gets theToStringStylebeing used.ToStringStyleDiffResult. getToStringStyle()Gets the style used by theDiffResult.toString()method.Methods in org.apache.commons.lang3.builder with parameters of type ToStringStyle Modifier and Type Method Description static java.lang.StringToStringBuilder. reflectionToString(java.lang.Object object, ToStringStyle style)UsesReflectionToStringBuilderto generate atoStringfor the specified object.static java.lang.StringToStringBuilder. reflectionToString(java.lang.Object object, ToStringStyle style, boolean outputTransients)UsesReflectionToStringBuilderto generate atoStringfor the specified object.static <T> java.lang.StringToStringBuilder. reflectionToString(T object, ToStringStyle style, boolean outputTransients, java.lang.Class<? super T> reflectUpToClass)UsesReflectionToStringBuilderto generate atoStringfor the specified object.static voidToStringBuilder. setDefaultStyle(ToStringStyle style)Sets the defaultToStringStyleto use.DiffBuilder.Builder<T>DiffBuilder.Builder. setStyle(ToStringStyle style)Sets the style will to use when outputting the objects,nulluses the default.java.lang.StringDiffResult. toString(ToStringStyle style)Builds aStringdescription of the differences contained within thisDiffResult, using the suppliedToStringStyle.static java.lang.StringReflectionToStringBuilder. toString(java.lang.Object object, ToStringStyle style)Builds atoStringvalue through reflection.static java.lang.StringReflectionToStringBuilder. toString(java.lang.Object object, ToStringStyle style, boolean outputTransients)Builds atoStringvalue through reflection.static java.lang.StringReflectionToStringBuilder. toString(java.lang.Object object, ToStringStyle style, boolean outputTransients, boolean outputStatics)Builds atoStringvalue through reflection.static <T> java.lang.StringReflectionToStringBuilder. toString(T object, ToStringStyle style, boolean outputTransients, boolean outputStatics, boolean excludeNullValues, java.lang.Class<? super T> reflectUpToClass)Builds atoStringvalue through reflection.static <T> java.lang.StringReflectionToStringBuilder. toString(T object, ToStringStyle style, boolean outputTransients, boolean outputStatics, java.lang.Class<? super T> reflectUpToClass)Builds atoStringvalue through reflection.Constructors in org.apache.commons.lang3.builder with parameters of type ToStringStyle Constructor Description DiffBuilder(T left, T right, ToStringStyle style)Deprecated.UseDiffBuilder.Builder.DiffBuilder(T left, T right, ToStringStyle style, boolean testObjectsEquals)Deprecated.UseDiffBuilder.Builder.DiffBuilder(T left, T right, ToStringStyle style, boolean testObjectsEquals, java.lang.String toStringFormat)DiffResult(T lhs, T rhs, java.util.List<Diff<?>> diffList, ToStringStyle style, java.lang.String toStringFormat)Creates aDiffResultcontaining the differences between two objects.ReflectionDiffBuilder(T left, T right, ToStringStyle style)Deprecated.ReflectionToStringBuilder(java.lang.Object object, ToStringStyle style)Constructs a new instance.ReflectionToStringBuilder(java.lang.Object object, ToStringStyle style, java.lang.StringBuffer buffer)Constructs a new instance.ReflectionToStringBuilder(T object, ToStringStyle style, java.lang.StringBuffer buffer, java.lang.Class<? super T> reflectUpToClass, boolean outputTransients, boolean outputStatics)Constructs a new instance.ReflectionToStringBuilder(T object, ToStringStyle style, java.lang.StringBuffer buffer, java.lang.Class<? super T> reflectUpToClass, boolean outputTransients, boolean outputStatics, boolean excludeNullValues)Constructs a new instance.ToStringBuilder(java.lang.Object object, ToStringStyle style)Constructs a builder for the specified object using the defined output style.ToStringBuilder(java.lang.Object object, ToStringStyle style, java.lang.StringBuffer buffer)Constructs a builder for the specified object.
-