Class ToStringTreeBuilder
java.lang.Object
org.hibernate.search.util.common.impl.ToStringTreeBuilder
- All Implemented Interfaces:
ToStringTreeAppender
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends a nested, named attribute.endList()Ends a nested list.Ends a nested object.Starts a nested, unnamed list.Starts a nested, named object.Starts a nested, unnamed object.startObject(String name) Starts a nested, named object.toString()Appends a nested, unnamed value.
-
Constructor Details
-
ToStringTreeBuilder
-
-
Method Details
-
toString
-
attribute
Description copied from interface:ToStringTreeAppenderAppends a nested, named attribute.- Specified by:
attributein interfaceToStringTreeAppender- Parameters:
name- The name of the attribute to append.value- The value of the attribute to append.- Returns:
this, for method chaining.
-
value
Description copied from interface:ToStringTreeAppenderAppends a nested, unnamed value.- Specified by:
valuein interfaceToStringTreeAppender- Parameters:
value- The value to append.- Returns:
this, for method chaining.
-
startObject
Description copied from interface:ToStringTreeAppenderStarts a nested, unnamed object.- Specified by:
startObjectin interfaceToStringTreeAppender- Returns:
this, for method chaining.
-
startObject
Description copied from interface:ToStringTreeAppenderStarts a nested, named object.- Specified by:
startObjectin interfaceToStringTreeAppender- Parameters:
name- The name of the object (type, ...).- Returns:
this, for method chaining.
-
endObject
Description copied from interface:ToStringTreeAppenderEnds a nested object.- Specified by:
endObjectin interfaceToStringTreeAppender- Returns:
this, for method chaining.
-
startList
Description copied from interface:ToStringTreeAppenderStarts a nested, unnamed list.- Specified by:
startListin interfaceToStringTreeAppender- Returns:
this, for method chaining.
-
startList
Description copied from interface:ToStringTreeAppenderStarts a nested, named object.- Specified by:
startListin interfaceToStringTreeAppender- Parameters:
name- The name of the list (type, ...).- Returns:
this, for method chaining.
-
endList
Description copied from interface:ToStringTreeAppenderEnds a nested list.- Specified by:
endListin interfaceToStringTreeAppender- Returns:
this, for method chaining.
-