de.unikiel.ipn.htmlform
Interface TextVisitor

All Superinterfaces:
MessageHandler
All Known Implementing Classes:
AntiLineBreakVisitor, HTMLVisitor

interface TextVisitor
extends MessageHandler

A TextVisitor changes the content of the given Entry.

See Also:
Entry

Method Summary
 void handleMessage(Message msg)
          Handles the Message or forwards it to the successor.
 void visit(Entry e)
          Changes the content of the given Entry.
 

Method Detail

visit

public void visit(Entry e)
Changes the content of the given Entry.

See Also:
Entry.accept(TextVisitor)

handleMessage

public void handleMessage(Message msg)
Handles the Message or forwards it to the successor. If it handles it by itself may depend for example on the type of the Message or on wether it knows which java.awt.Window is currently focused.

Parameters:
msg - the Message that has to be handled.