aokell.lib.control.factory
Class CompositeFactoryImpl
java.lang.Object
aokell.lib.control.factory.AbstractFactoryImpl
aokell.lib.control.factory.CompositeFactoryImpl
- All Implemented Interfaces:
- Controller, FactoryItf, Factory
public class CompositeFactoryImpl
- extends AbstractFactoryImpl
Implementation of the factory interface for composite components.
- Author:
- Lionel Seinturier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeFactoryImpl
public CompositeFactoryImpl()
newFcInstance
public Component newFcInstance()
throws InstantiationException
- Specified by:
newFcInstance
in interface Factory
- Specified by:
newFcInstance
in class AbstractFactoryImpl
- Throws:
InstantiationException
newFcInstance
public Component newFcInstance(Component component,
Map newContent)
throws InstantiationException
- Recursively create a new component and store the association between old
instances and newly created ones in the given map.
- Parameters:
component
- the component to clonenewContent
- the map containing associations between old and new
components
- Returns:
- the newly created component
- Throws:
InstantiationException