up
Interface TreeHandler

All Known Implementing Classes:
DefaultTreeHandler, GrammarExtractor, NullTreeHandler, ParserHandler, TransformerHandler, TreeCounter, TreePrinter

public interface TreeHandler

Receive notifications about a stream of trees.


Method Summary
 void exit()
          Receives notification about the end of the stream.
 void init()
          Receives notification about the beginning of the stream.
 void next(Tree tree)
          Receives notification about the next tree in the stream.
 

Method Detail

init

void init()
Receives notification about the beginning of the stream.


next

void next(Tree tree)
Receives notification about the next tree in the stream.

Parameters:
tree - the next tree in the stream

exit

void exit()
Receives notification about the end of the stream.