Interface ToStringTreeAppendable
-
- All Known Subinterfaces:
PojoImplicitReindexingResolver<T>
- All Known Implementing Classes:
AbstractPojoTypeManager,AbstractProjectionDefinition,ConstantProjectionDefinition,FieldProjectionDefinition,FieldProjectionDefinition.MultiValued,FieldProjectionDefinition.SingleValued,ObjectProjectionDefinition,ObjectProjectionDefinition.MultiValued,ObjectProjectionDefinition.SingleValued,PojoConstructorProjectionDefinition,PojoContainedTypeManager,PojoImplicitReindexingAssociationInverseSideResolver,PojoImplicitReindexingAssociationInverseSideResolverMarkingNode,PojoImplicitReindexingAssociationInverseSideResolverNode,PojoImplicitReindexingResolverCastedTypeNode,PojoImplicitReindexingResolverContainerElementNode,PojoImplicitReindexingResolverDirtinessFilterNode,PojoImplicitReindexingResolverImpl,PojoImplicitReindexingResolverMarkingNode,PojoImplicitReindexingResolverMultiNode,PojoImplicitReindexingResolverNode,PojoImplicitReindexingResolverOriginalTypeNode,PojoImplicitReindexingResolverPropertyNode,PojoIndexedTypeManager,PojoIndexingProcessor,PojoIndexingProcessorCastedTypeNode,PojoIndexingProcessorContainerElementNode,PojoIndexingProcessorMultiNode,PojoIndexingProcessorOriginalTypeNode,PojoIndexingProcessorPropertyBridgeNode,PojoIndexingProcessorPropertyNode,PojoIndexingProcessorTypeBridgeNode,PojoIndexingProcessorValueBridgeNode
@Incubating public interface ToStringTreeAppendable
Implemented by classes that can be rendered to a string representing a tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidappendTo(ToStringTreeAppender appender)Appends information aboutthisto the givenappender.default StringtoStringTree()A reasonable implementation ofObject.toString()relying onappendTo(ToStringTreeAppender).
-
-
-
Method Detail
-
appendTo
void appendTo(ToStringTreeAppender appender)
Appends information aboutthisto the givenappender.WARNING: This generally shouldn't be called directly, as
ToStringTreeAppenderwill automatically call this method forToStringTreeAppendablevalues passed toToStringTreeAppender.attribute(String, Object)/ToStringTreeAppender.value(Object).Implementations should assume that calls to
ToStringTreeAppender.startObject()/ToStringTreeAppender.endObject()forthisare handled by the caller.- Parameters:
appender- AToStringTreeAppender.
-
toStringTree
default String toStringTree()
A reasonable implementation ofObject.toString()relying onappendTo(ToStringTreeAppender).- Returns:
- A string representation of the given
appendable.
-
-