org.jfree.xml.util
Interface ObjectFactory
- ObjectFactoryLoader, SimpleObjectFactory
An object factory.
getFactoryForClass
public GenericObjectFactory getFactoryForClass(Class c)
Returns the generic factory for the given class or null, if there is
no handler for this class. The factory will be reinitialized using
getInstance().
c
- the class for which we need a producer
- the factory for this class
getManualMappingDefinition
public ManualMappingDefinition getManualMappingDefinition(Class c)
Returns the manual mapping definition for the given class, or null, if
not manual definition exists.
c
- the class for which to check the existence of the definition
- the manual mapping definition or null.
getMultiplexDefinition
public MultiplexMappingDefinition getMultiplexDefinition(Class c)
Returns the multiplex definition for the given class, or null, if no
such definition exists.
c
- the class for which to check the existence of the multiplexer
- the multiplexer for the class, or null if no multiplexer exists.
isGenericHandler
public boolean isGenericHandler(Class c)
Checks, whether a generic handler exists for the given class. This does
not check, whether an mapping exists.
c
- the class for which to check
- true, if an generic handler is defined, false otherwise.