| java.lang.Object org.jfree.xml.factory.objects.ClassFactoryImpl
All known Subclasses: org.jfree.xml.factory.objects.JavaBaseClassFactory, org.jfree.xml.factory.objects.URLClassFactory, org.jfree.xml.factory.objects.ClassFactoryCollector,
ClassFactoryImpl | abstract public class ClassFactoryImpl implements ClassFactory(Code) | | An abstract class that implements the
ClassFactory interface.
author: Thomas Morgner. |
ClassFactoryImpl | public ClassFactoryImpl()(Code) | | Creates a new class factory.
|
configure | public void configure(Configuration config)(Code) | | 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 | public boolean equals(Object o)(Code) | | Tests for equality.
Parameters: o - the object to test. A boolean. |
getComparator | public ClassComparator getComparator()(Code) | | Returns the class comparator used to sort the super classes of an object.
the class comparator. |
getConfig | public Configuration getConfig()(Code) | | Returns the currently set configuration or null, if none was set.
the configuration. |
getDescriptionForClass | public ObjectDescription getDescriptionForClass(Class c)(Code) | | Returns an object-description for a class.
Parameters: c - the class. An object description. |
getRegisteredClasses | public Iterator getRegisteredClasses()(Code) | | Returns an iterator that provides access to the registered object definitions.
The iterator. |
getSuperClassObjectDescription | public ObjectDescription getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)(Code) | | Returns the most concrete object-description for the super class of a class.
Parameters: d - the class. Parameters: knownSuperClass - a known supported superclass or null, if no superclassis known yet. The object description. |
hashCode | public int hashCode()(Code) | | Returns a hash code.
A hash code. |
registerClass | protected void registerClass(Class key, ObjectDescription od)(Code) | | Registers an object description with the factory.
Parameters: key - the key. Parameters: od - the object description. |
|
|