public class ClassFactoryCollector extends ClassFactoryImpl
| Constructor and Description |
|---|
ClassFactoryCollector()
Creates a new class factory collector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFactory(ClassFactory factory)
Adds a class factory to the collection.
|
void |
configure(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.
|
getComparator, getConfig, registerClasspublic ClassFactoryCollector()
public void addFactory(ClassFactory factory)
factory - the factory.public Iterator getFactories()
public ObjectDescription getDescriptionForClass(Class c)
getDescriptionForClass in interface ClassFactorygetDescriptionForClass in class ClassFactoryImplc - the class.public ObjectDescription getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)
getSuperClassObjectDescription in interface ClassFactorygetSuperClassObjectDescription in class ClassFactoryImpld - the class.knownSuperClass - the last known super class or null.public Iterator getRegisteredClasses()
getRegisteredClasses in interface ClassFactorygetRegisteredClasses in class ClassFactoryImplpublic void configure(Configuration config)
The configuration contents may change during the reporting.
configure in interface ClassFactoryconfigure in class ClassFactoryImplconfig - the configuration, never nullpublic boolean equals(Object o)
equals in interface ClassFactoryequals in class ClassFactoryImplo - the object to test.public int hashCode()
hashCode in interface ClassFactoryhashCode in class ClassFactoryImplCopyright © 2009-2012 jtstand.com. All Rights Reserved.