Class GrouperClientUtils.NotNullToStringStyle
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.builder.ToStringStyle
edu.internet2.middleware.grouperClient.util.GrouperClientUtils.NotNullToStringStyle
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GrouperClientUtils
dont print null fields in reflection
- See Also:
-
Field Summary
Fields inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.builder.ToStringStyle
DEFAULT_STYLE, JSON_STYLE, MULTI_LINE_STYLE, NO_CLASS_NAME_STYLE, NO_FIELD_NAMES_STYLE, SHORT_PREFIX_STYLE, SIMPLE_STYLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
append
(StringBuffer buffer, String fieldName, Object value, Boolean fullDetail) Append to thetoString
anObject
value, printing the fulltoString
of theObject
passed in.Methods inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.builder.ToStringStyle
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendClassName, appendContentEnd, appendContentStart, appendCyclicObject, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendEnd, appendFieldEnd, appendFieldSeparator, appendFieldStart, appendIdentityHashCode, appendInternal, appendNullText, appendStart, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummarySize, appendSuper, appendToString, getArrayEnd, getArraySeparator, getArrayStart, getContentEnd, getContentStart, getFieldNameValueSeparator, getFieldSeparator, getNullText, getShortClassName, getSizeEndText, getSizeStartText, getSummaryObjectEndText, getSummaryObjectStartText, isArrayContentDetail, isDefaultFullDetail, isFieldSeparatorAtEnd, isFieldSeparatorAtStart, isFullDetail, isUseClassName, isUseFieldNames, isUseIdentityHashCode, isUseShortClassName, reflectionAppendArrayDetail, removeLastFieldSeparator, setArrayContentDetail, setArrayEnd, setArraySeparator, setArrayStart, setContentEnd, setContentStart, setDefaultFullDetail, setFieldNameValueSeparator, setFieldSeparator, setFieldSeparatorAtEnd, setFieldSeparatorAtStart, setNullText, setSizeEndText, setSizeStartText, setSummaryObjectEndText, setSummaryObjectStartText, setUseClassName, setUseFieldNames, setUseIdentityHashCode, setUseShortClassName
-
Field Details
-
NOT_NULL_STYLE
-
-
Constructor Details
-
NotNullToStringStyle
public NotNullToStringStyle()
-
-
Method Details
-
append
Description copied from class:ToStringStyle
Append to the
toString
anObject
value, printing the fulltoString
of theObject
passed in.- Overrides:
append
in classToStringStyle
- Parameters:
buffer
- theStringBuffer
to populatefieldName
- the field namevalue
- the value to add to thetoString
fullDetail
-true
for detail,false
for summary info,null
for style decides
-