|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.factory.objects.ClassFactoryImpl
org.jfree.xml.factory.objects.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(Configuration config)
Configures this factory. |
boolean |
equals(java.lang.Object o)
Tests for equality. |
ObjectDescription |
getDescriptionForClass(java.lang.Class c)
Returns an object description for a class. |
java.util.Iterator |
getFactories()
Returns an iterator the provides access to all the factories in the collection. |
java.util.Iterator |
getRegisteredClasses()
Returns an iterator that provices access to the registered classes. |
ObjectDescription |
getSuperClassObjectDescription(java.lang.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.jfree.xml.factory.objects.ClassFactoryImpl |
---|
getComparator, getConfig, registerClass |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassFactoryCollector()
Method Detail |
---|
public void addFactory(ClassFactory factory)
factory
- the factory.public java.util.Iterator getFactories()
public ObjectDescription getDescriptionForClass(java.lang.Class c)
getDescriptionForClass
in interface ClassFactory
getDescriptionForClass
in class ClassFactoryImpl
c
- the class.
public ObjectDescription getSuperClassObjectDescription(java.lang.Class d, ObjectDescription knownSuperClass)
getSuperClassObjectDescription
in interface ClassFactory
getSuperClassObjectDescription
in class ClassFactoryImpl
d
- the class.knownSuperClass
- the last known super class or null.
public java.util.Iterator getRegisteredClasses()
getRegisteredClasses
in interface ClassFactory
getRegisteredClasses
in class ClassFactoryImpl
public void configure(Configuration config)
The configuration contents may change during the reporting.
configure
in interface ClassFactory
configure
in class ClassFactoryImpl
config
- the configuration, never nullpublic boolean equals(java.lang.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 |