| java.lang.Object org.jfree.xml.util.SimpleObjectFactory
SimpleObjectFactory | public class SimpleObjectFactory implements ObjectFactory(Code) | | A simple object factory.
|
SimpleObjectFactory | public SimpleObjectFactory()(Code) | | Creates a new instance.
|
addGenericHandler | public void addGenericHandler(GenericObjectFactory handler)(Code) | | Adds a generic handler.
Parameters: handler - the handler. |
clear | public void clear()(Code) | | Clears the mappings.
|
getFactoryForClass | public GenericObjectFactory getFactoryForClass(Class c)(Code) | | Returns a factory instance for the given class. The factory is independent
from all previously generated instances.
Parameters: c - the class the object factory. |
getManualMappingDefinition | public ManualMappingDefinition getManualMappingDefinition(Class c)(Code) | | Returns the manual mapping definition for the given class, or null, if
not manual definition exists.
Parameters: c - the class for which to check the existence of the definition the manual mapping definition or null. |
getMultiplexDefinition | public MultiplexMappingDefinition getMultiplexDefinition(Class c)(Code) | | Returns the multiplex definition for the given class, or null, if no
such definition exists.
Parameters: 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)(Code) | | Checks, whether a generic handler exists for the given class. This does
not check, whether an mapping exists.
Parameters: c - the class for which to check true, if an generic handler is defined, false otherwise. |
|
|