Interface ClassFactory
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
DataSourceFactory
- All Known Implementing Classes:
AbstractDataSourceFactory
,ArrayClassFactory
,BandLayoutClassFactory
,ClassFactoryCollector
,ClassFactoryImpl
,DataSourceCollector
,DefaultClassFactory
,DefaultDataSourceFactory
,ExtraShapesClassFactory
,JavaBaseClassFactory
,TemplateClassFactory
,URLClassFactory
public interface ClassFactory extends Serializable
A class factory.- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(org.pentaho.reporting.libraries.base.config.Configuration config)
Configures this factory.boolean
equals(Object o)
Compares whether two object factories are equal.ObjectDescription
getDescriptionForClass(Class c)
Returns an object description for a class.Iterator
getRegisteredClasses()
Returns an iterator for the registered classes.ObjectDescription
getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)
Returns an object description for the super class of a class.int
hashCode()
Computes the hashCode for this ClassFactory.
-
-
-
Method Detail
-
getDescriptionForClass
ObjectDescription getDescriptionForClass(Class c)
Returns an object description for a class.- Parameters:
c
- the class.- Returns:
- The object description.
-
getSuperClassObjectDescription
ObjectDescription getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)
Returns an object description for the super class of a class.- Parameters:
d
- the class.knownSuperClass
- the last known super class or null.- Returns:
- The object description.
-
getRegisteredClasses
Iterator getRegisteredClasses()
Returns an iterator for the registered classes. This returns a list of pre-registered classes known to this ClassFactory. A class may be able to handle more than the registered classes. This method exists to support query tools for UI design, do not rely on it for day to day work.- Returns:
- The iterator.
-
configure
void configure(org.pentaho.reporting.libraries.base.config.Configuration config)
Configures this factory. The configuration contains several keys and their defined values. The given reference to the configuration object will remain valid until the report parsing or writing ends. The configuration contents may change during the reporting.- Parameters:
config
- the configuration, never null
-
equals
boolean equals(Object o)
Compares whether two object factories are equal. This method must be implemented!
-
-