|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.xml.factory.objects.ClassFactoryImpl
public abstract class ClassFactoryImpl
An abstract class that implements the ClassFactory interface.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassFactoryImpl()
| Method Detail |
|---|
public ClassComparator getComparator()
public ObjectDescription getDescriptionForClass(Class c)
getDescriptionForClass in interface ClassFactoryc - the class.
public ObjectDescription getSuperClassObjectDescription(Class d,
ObjectDescription knownSuperClass)
getSuperClassObjectDescription in interface ClassFactoryd - the class.knownSuperClass - a known supported superclass or null, if no superclass
is known yet.
protected void registerClass(Class key,
ObjectDescription od)
key - the key.od - the object description.public Iterator getRegisteredClasses()
getRegisteredClasses in interface ClassFactorypublic void configure(Configuration config)
The configuration contents may change during the reporting.
configure in interface ClassFactoryconfig - the configuration, never nullpublic Configuration getConfig()
public boolean equals(Object o)
equals in interface ClassFactoryequals in class Objecto - the object to test.
public int hashCode()
hashCode in interface ClassFactoryhashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||