net.sf.jasperreports.jsf.engine
Class JRDataSourceWrapper

java.lang.Object
  extended by net.sf.jasperreports.jsf.engine.JRDataSourceWrapper
All Implemented Interfaces:
Source
Direct Known Subclasses:
CsvSourceConverter.CsvReportSource

public class JRDataSourceWrapper
extends Object
implements Source

Source implementation of a JRDataSource.

Author:
A. Alonso Dominguez

Constructor Summary
JRDataSourceWrapper(net.sf.jasperreports.engine.JRDataSource dataSource)
          Instantiates a new JRDataSourceWrapper.
 
Method Summary
 void dispose()
          Disposes this data source resources.
 net.sf.jasperreports.engine.JRDataSource getDataSource()
          Obtains the wrapped data source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRDataSourceWrapper

public JRDataSourceWrapper(net.sf.jasperreports.engine.JRDataSource dataSource)
Instantiates a new JRDataSourceWrapper.

Parameters:
dataSource - the data soruce to wrap.
Method Detail

getDataSource

public final net.sf.jasperreports.engine.JRDataSource getDataSource()
Obtains the wrapped data source.

Returns:
the wrapped data source.

dispose

public void dispose()
             throws Exception
Disposes this data source resources.

Specified by:
dispose in interface Source
Throws:
Exception - if some error happens closing the resources.


Copyright © 2011 SourceForge.net. All Rights Reserved.