com.jrefinery.report.io.ext.factory.datasource
Interface DataSourceFactory

All Superinterfaces:
org.jfree.xml.factory.objects.ClassFactory
All Known Implementing Classes:
AbstractDataSourceFactory, DataSourceCollector

public interface DataSourceFactory
extends org.jfree.xml.factory.objects.ClassFactory

A data source factory.

Author:
Thomas Morgner

Method Summary
 org.jfree.xml.factory.objects.ObjectDescription getDataSourceDescription(java.lang.String name)
          Returns a data source description.
 java.lang.String getDataSourceName(org.jfree.xml.factory.objects.ObjectDescription od)
          Returns a data source name.
 java.util.Iterator getRegisteredNames()
          Returns the names of all registered datasources as iterator.
 
Methods inherited from interface org.jfree.xml.factory.objects.ClassFactory
configure, getDescriptionForClass, getRegisteredClasses, getSuperClassObjectDescription
 

Method Detail

getDataSourceDescription

public org.jfree.xml.factory.objects.ObjectDescription getDataSourceDescription(java.lang.String name)
Returns a data source description.

Parameters:
name - the name.
Returns:
The description.

getDataSourceName

public java.lang.String getDataSourceName(org.jfree.xml.factory.objects.ObjectDescription od)
Returns a data source name.

Parameters:
od - the description.
Returns:
The name.

getRegisteredNames

public java.util.Iterator getRegisteredNames()
Returns the names of all registered datasources as iterator.

Returns:
the registered names.