|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ClassFactoryImpl
org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ClassFactoryCollector
public class ClassFactoryCollector
A class factory collector.
Constructor Summary | |
---|---|
ClassFactoryCollector()
Creates a new class factory collector. |
Method Summary | |
---|---|
void |
addFactory(ClassFactory factory)
Adds a class factory to the collection. |
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration config)
Configures this factory. |
boolean |
equals(Object o)
Tests for equality. |
ObjectDescription |
getDescriptionForClass(Class c)
Returns an object description for a class. |
Iterator |
getFactories()
Returns an iterator the provides access to all the factories in the collection. |
Iterator |
getRegisteredClasses()
Returns an iterator that provices access to the registered classes. |
ObjectDescription |
getSuperClassObjectDescription(Class d,
ObjectDescription knownSuperClass)
Returns an object-description for the super class of a class. |
int |
hashCode()
Returns a hash code for the object. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ClassFactoryImpl |
---|
getComparator, getConfig |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassFactoryCollector()
Method Detail |
---|
public void addFactory(ClassFactory factory)
factory
- the factory.public Iterator getFactories()
public ObjectDescription getDescriptionForClass(Class c)
getDescriptionForClass
in interface ClassFactory
getDescriptionForClass
in class ClassFactoryImpl
c
- the class.
public ObjectDescription getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)
getSuperClassObjectDescription
in interface ClassFactory
getSuperClassObjectDescription
in class ClassFactoryImpl
d
- the class.knownSuperClass
- the last known super class or null.
public Iterator getRegisteredClasses()
getRegisteredClasses
in interface ClassFactory
getRegisteredClasses
in class ClassFactoryImpl
public void configure(org.pentaho.reporting.libraries.base.config.Configuration config)
configure
in interface ClassFactory
configure
in class ClassFactoryImpl
config
- the configuration, never nullpublic boolean equals(Object o)
equals
in interface ClassFactory
equals
in class ClassFactoryImpl
o
- the object to test.
public int hashCode()
hashCode
in interface ClassFactory
hashCode
in class ClassFactoryImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |