org.jfree.xml.factory.objects
public abstract class ClassFactoryImpl extends Object implements ClassFactory
Constructor Summary | |
---|---|
ClassFactoryImpl()
Creates a new class factory. |
Method Summary | |
---|---|
void | configure(Configuration config)
Configures this factory. |
boolean | equals(Object o)
Tests for equality.
|
ClassComparator | getComparator()
Returns the class comparator used to sort the super classes of an object.
|
Configuration | getConfig()
Returns the currently set configuration or null, if none was set.
|
ObjectDescription | getDescriptionForClass(Class c)
Returns an object-description for a class.
|
Iterator | getRegisteredClasses()
Returns an iterator that provides access to the registered object definitions.
|
ObjectDescription | getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)
Returns the most concrete object-description for the super class of a class.
|
int | hashCode()
Returns a hash code.
|
protected void | registerClass(Class key, ObjectDescription od)
Registers an object description with the factory.
|
The configuration contents may change during the reporting.
Parameters: config the configuration, never null
Parameters: o the object to test.
Returns: A boolean.
Returns: the class comparator.
Returns: the configuration.
Parameters: c the class.
Returns: An object description.
Returns: The iterator.
Parameters: d the class. knownSuperClass a known supported superclass or null, if no superclass is known yet.
Returns: The object description.
Returns: A hash code.
Parameters: key the key. od the object description.