org.apache.tapestry.describe
Interface RootDescriptionReciever

All Superinterfaces:
DescriptionReceiver
All Known Implementing Classes:
HTMLDescriptionReceiver

public interface RootDescriptionReciever
extends DescriptionReceiver

Extended version of 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).

Author:
Howard M. Lewis Ship

Method Summary
 void describe(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.
 
Methods inherited from interface org.apache.tapestry.describe.DescriptionReceiver
array, collection, describeAlternate, property, property, property, property, property, property, property, property, property, section, title
 

Method Detail

describe

void describe(Object object)
Describes the object, using a DescribableStrategy, or just the object's toString() if there is no strategy for the object. Automatically invokes finishUp() when done.

Parameters:
object - to be described, which may be null

finishUp

void finishUp()
Invoked after one object has been fully described. Ends a <table>, if one has been started, and resets the receiver to begin a new object.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.