All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.util.SimpleMessageObserver

com.kvisco.xsl.util.SimpleMessageObserver

public class SimpleMessageObserver
implements MessageObserver
A simple implementation of MessageObserver

Author:
Keith Visco

Constructor Index

 o SimpleMessageObserver()
Creates a new SimpleMessageObserver which will print messages to the console
 o SimpleMessageObserver(Writer)
Creates a new SimpleMessageObserver which will print messages to the given Writer

Method Index

 o recieveMessage(String)
Notifies this observer of a new message
 o setWriter(Writer)
Sets the Writer of this MessageObserver

Constructors

 o SimpleMessageObserver
 public SimpleMessageObserver()
Creates a new SimpleMessageObserver which will print messages to the console

 o SimpleMessageObserver
 public SimpleMessageObserver(Writer writer)
Creates a new SimpleMessageObserver which will print messages to the given Writer

Parameters:
writer - the Writer to print messages to

Methods

 o recieveMessage
 public void recieveMessage(String message)
Notifies this observer of a new message

Parameters:
message - the message to observe
 o setWriter
 public void setWriter(Writer writer)
Sets the Writer of this MessageObserver

Parameters:
writer - the Writer to print messages to

All Packages  Class Hierarchy  This Package  Previous  Next  Index