Class ToStringStyle


  • @ProviderType
    public final class ToStringStyle
    extends java.lang.Object
    Custom styles for ToStringBuilder from Apache Commons.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.commons.lang3.builder.ToStringStyle SHORT_PREFIX_OMIT_NULL_STYLE
      Same as ToStringStyle.SHORT_PREFIX_STYLE, but omits all entries that have null values.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SHORT_PREFIX_OMIT_NULL_STYLE

        public static final org.apache.commons.lang3.builder.ToStringStyle SHORT_PREFIX_OMIT_NULL_STYLE
        Same as ToStringStyle.SHORT_PREFIX_STYLE, but omits all entries that have null values. Additional it implements special toString() rules for common Sling/AEM objects like Resource and Page.