com.jrefinery.report.filter
Class EmptyDataSource

java.lang.Object
  extended bycom.jrefinery.report.filter.EmptyDataSource
All Implemented Interfaces:
java.lang.Cloneable, DataSource, java.io.Serializable

public final class EmptyDataSource
extends java.lang.Object
implements DataSource

A data source that always returns null.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
EmptyDataSource()
           
 
Method Summary
 java.lang.Object clone()
          Clones the data source.
 java.lang.Object getValue()
          Returns the value for the data source (always null in this case).
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyDataSource

public EmptyDataSource()
Method Detail

getValue

public java.lang.Object getValue()
Returns the value for the data source (always null in this case).

Specified by:
getValue in interface DataSource
Returns:
always null.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones the data source.

Specified by:
clone in interface DataSource
Returns:
a clone.
Throws:
java.lang.CloneNotSupportedException - this should never happen.