Class EmptyJRDataSource

  • All Implemented Interfaces:
    net.sf.jasperreports.engine.JRDataSource, net.sf.jasperreports.engine.JRRewindableDataSource

    public class EmptyJRDataSource
    extends java.lang.Object
    implements net.sf.jasperreports.engine.JRRewindableDataSource
    An empty or nullable data source implementation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getFieldValue​(net.sf.jasperreports.engine.JRField jrField)  
      void moveFirst()  
      boolean next()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmptyJRDataSource

        public EmptyJRDataSource()
    • Method Detail

      • getFieldValue

        public java.lang.Object getFieldValue​(net.sf.jasperreports.engine.JRField jrField)
                                       throws net.sf.jasperreports.engine.JRException
        Specified by:
        getFieldValue in interface net.sf.jasperreports.engine.JRDataSource
        Throws:
        net.sf.jasperreports.engine.JRException
      • next

        public boolean next()
                     throws net.sf.jasperreports.engine.JRException
        Specified by:
        next in interface net.sf.jasperreports.engine.JRDataSource
        Throws:
        net.sf.jasperreports.engine.JRException
      • moveFirst

        public void moveFirst()
                       throws net.sf.jasperreports.engine.JRException
        Specified by:
        moveFirst in interface net.sf.jasperreports.engine.JRRewindableDataSource
        Throws:
        net.sf.jasperreports.engine.JRException