com.eliad.model
Class NullSpanModel

java.lang.Object
  |
  +--com.eliad.model.NullSpanModel

public class NullSpanModel
extends java.lang.Object
implements SpanModel

This is a stricly empty span model.

Version:
1.0 00/04/08
Author:
Patrick Mérissert-Coffinières

Method Summary
 void addSpanModelListener(SpanModelListener l)
          Adds a listener to the list that's notified each time a change to the span model occurs.
static NullSpanModel getSharedInstance()
          Provides a singleton instance.
 void removeSpanModelListener(SpanModelListener l)
          Removes a listener from the list that's notified each time a change to the span model occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSharedInstance

public static NullSpanModel getSharedInstance()
Provides a singleton instance.

addSpanModelListener

public void addSpanModelListener(SpanModelListener l)
Adds a listener to the list that's notified each time a change to the span model occurs. Since no change will ever occur, subscribers will not be recorded.
Specified by:
addSpanModelListener in interface SpanModel
Parameters:
l - the SpanModelListener

removeSpanModelListener

public void removeSpanModelListener(SpanModelListener l)
Removes a listener from the list that's notified each time a change to the span model occurs. Since no change will ever occur, subscribers will not be recorded.
Specified by:
removeSpanModelListener in interface SpanModel
Parameters:
l - the SpanModelListener