|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.io.ext.factory.datasource.DataSourceCollector
A DataSourceFactory
created from a number of other factories.
Constructor Summary | |
DataSourceCollector()
Creates a new factory. |
Method Summary | |
void |
addFactory(DataSourceFactory factory)
Adds a factory to the collection. |
void |
configure(org.jfree.util.Configuration config)
Configures this factory. |
org.jfree.util.Configuration |
getConfig()
Returns the currently set configuration or null, if none was set. |
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. |
org.jfree.xml.factory.objects.ObjectDescription |
getDescriptionForClass(java.lang.Class c)
Returns a description for the class. |
java.util.Iterator |
getFactories()
Returns an iterator that provides access to the factories. |
java.util.Iterator |
getRegisteredClasses()
Returns an iterator that provides access to the registered classes. |
java.util.Iterator |
getRegisteredNames()
Returns the names of all registered datasources as iterator. |
org.jfree.xml.factory.objects.ObjectDescription |
getSuperClassObjectDescription(java.lang.Class d,
org.jfree.xml.factory.objects.ObjectDescription knownSuperClass)
Returns a description for the super class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSourceCollector()
Method Detail |
public void addFactory(DataSourceFactory factory)
factory
- the factory.public java.util.Iterator getFactories()
public org.jfree.xml.factory.objects.ObjectDescription getDataSourceDescription(java.lang.String name)
getDataSourceDescription
in interface DataSourceFactory
name
- the data source name.
public java.lang.String getDataSourceName(org.jfree.xml.factory.objects.ObjectDescription od)
getDataSourceName
in interface DataSourceFactory
od
- the object description.
public org.jfree.xml.factory.objects.ObjectDescription getDescriptionForClass(java.lang.Class c)
getDescriptionForClass
in interface org.jfree.xml.factory.objects.ClassFactory
c
- the class.
public org.jfree.xml.factory.objects.ObjectDescription getSuperClassObjectDescription(java.lang.Class d, org.jfree.xml.factory.objects.ObjectDescription knownSuperClass)
getSuperClassObjectDescription
in interface org.jfree.xml.factory.objects.ClassFactory
d
- the class.knownSuperClass
- the last known super class for the given class or null
if none was found yet.
public java.util.Iterator getRegisteredClasses()
getRegisteredClasses
in interface org.jfree.xml.factory.objects.ClassFactory
public void configure(org.jfree.util.Configuration config)
The configuration contents may change during the reporting.
configure
in interface org.jfree.xml.factory.objects.ClassFactory
config
- the configuration, never nullpublic org.jfree.util.Configuration getConfig()
public java.util.Iterator getRegisteredNames()
getRegisteredNames
in interface DataSourceFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |