public interface RootDescriptionReciever extends DescriptionReceiver
DescriptionReceiver
that adds the
ability to describe the root object, and to finish the description of an object (allowing the
same receiver to be used to describe several objects).Modifier and Type | Method and Description |
---|---|
void |
describe(java.lang.Object object)
Describes the object, using a
DescribableStrategy , or just the object's toString()
if there is no strategy for the object. |
void |
finishUp()
Invoked after one object has been fully described.
|
array, collection, describeAlternate, property, property, property, property, property, property, property, property, property, section, title
void describe(java.lang.Object object)
DescribableStrategy
, or just the object's toString()
if there is no strategy for the object. Automatically invokes finishUp()
when done.object
- to be described, which may be nullvoid finishUp()