Uses of Class
org.apache.commons.lang.builder.ToStringStyle
Packages that use ToStringStyle
Package
Description
Assists in creating consistent
equals(Object)
, toString()
,
hashCode()
, and compareTo(Object)
methods.-
Uses of ToStringStyle in org.apache.commons.lang.builder
Subclasses of ToStringStyle in org.apache.commons.lang.builderFields in org.apache.commons.lang.builder declared as ToStringStyleModifier and TypeFieldDescriptionstatic final ToStringStyle
ToStringStyle.DEFAULT_STYLE
The default toString style.static final ToStringStyle
ToStringStyle.MULTI_LINE_STYLE
The multi line 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.lang.builder that return ToStringStyleModifier and TypeMethodDescriptionstatic ToStringStyle
ToStringBuilder.getDefaultStyle()
Gets the defaultToStringStyle
to use.ToStringBuilder.getStyle()
Gets theToStringStyle
being used.Methods in org.apache.commons.lang.builder with parameters of type ToStringStyleModifier and TypeMethodDescriptionstatic String
ToStringBuilder.reflectionToString
(Object object, ToStringStyle style) UsesReflectionToStringBuilder
to generate atoString
for the specified object.static String
ToStringBuilder.reflectionToString
(Object object, ToStringStyle style, boolean outputTransients) UsesReflectionToStringBuilder
to generate atoString
for the specified object.static String
ToStringBuilder.reflectionToString
(Object object, ToStringStyle style, boolean outputTransients, Class reflectUpToClass) UsesReflectionToStringBuilder
to generate atoString
for the specified object.static void
ToStringBuilder.setDefaultStyle
(ToStringStyle style) Sets the defaultToStringStyle
to use.static String
ReflectionToStringBuilder.toString
(Object object, ToStringStyle style) Builds atoString
value through reflection.static String
ReflectionToStringBuilder.toString
(Object object, ToStringStyle style, boolean outputTransients) Builds atoString
value through reflection.static String
ReflectionToStringBuilder.toString
(Object object, ToStringStyle style, boolean outputTransients, boolean outputStatics) Builds atoString
value through reflection.static String
ReflectionToStringBuilder.toString
(Object object, ToStringStyle style, boolean outputTransients, boolean outputStatics, Class reflectUpToClass) Builds atoString
value through reflection.static String
ReflectionToStringBuilder.toString
(Object object, ToStringStyle style, boolean outputTransients, Class reflectUpToClass) Deprecated.Constructors in org.apache.commons.lang.builder with parameters of type ToStringStyleModifierConstructorDescriptionReflectionToStringBuilder
(Object object, ToStringStyle style) Constructor.ReflectionToStringBuilder
(Object object, ToStringStyle style, StringBuffer buffer) Constructor.ReflectionToStringBuilder
(Object object, ToStringStyle style, StringBuffer buffer, Class reflectUpToClass, boolean outputTransients) ReflectionToStringBuilder
(Object object, ToStringStyle style, StringBuffer buffer, Class reflectUpToClass, boolean outputTransients, boolean outputStatics) Constructor.ToStringBuilder
(Object object, ToStringStyle style) Constructs a builder for the specified object using the a defined output style.ToStringBuilder
(Object object, ToStringStyle style, StringBuffer buffer) Constructs a builder for the specified object.
ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean,boolean,Class)