|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectup.DefaultTreeHandler
up.TransformerHandler
public class TransformerHandler
Sends the next tree through a chain of tree transformers.
Constructor Summary | |
---|---|
TransformerHandler(TreeTransformer transformer)
Constructs a new handler with the specified transformer. |
Method Summary | |
---|---|
void |
next(Tree tree)
Transforms the specified tree and sends it to the next handler in the chain. |
Methods inherited from class up.DefaultTreeHandler |
---|
exit, getSuccessor, init, setSuccessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformerHandler(TreeTransformer transformer)
transformer
- the tree transformer to be applied to the trees in the
streamMethod Detail |
---|
public void next(Tree tree)
next
in interface TreeHandler
next
in class DefaultTreeHandler
tree
- the next tree in the stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |