Class EmptyJRDataSource

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

    public class EmptyJRDataSource
    extends Object
    implements net.sf.jasperreports.engine.JRRewindableDataSource
    An empty or nullable data source implementation.
    • Constructor Detail

      • EmptyJRDataSource

        public EmptyJRDataSource()
    • Method Detail

      • getFieldValue

        public 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