org.jfree.xml.factory.objects
Interface ClassFactory
- Serializable
- ArrayClassFactory, ClassFactoryCollector, ClassFactoryImpl, JavaBaseClassFactory, URLClassFactory
A class factory.
configure
public void configure(Configuration config)
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.
config
- the configuration, never null
equals
public boolean equals(Object o)
Compares whether two object factories are equal. This method must be
implemented!
- true, if both object factories describe the same objects, false otherwise.
getRegisteredClasses
public Iterator getRegisteredClasses()
Returns an iterator for the registered classes. This returns a list
of pre-registered classes known to this ClassFactory. A class may be able
to handle more than the registered classes.
This method exists to support query tools for UI design, do not rely on it
for day to day work.
hashCode
public int hashCode()
Computes the hashCode for this ClassFactory. As equals() must be implemented,
a corresponding hashCode() should be implemented as well.