org.oddjob.arooa.design
Class GenericDesignFactory
java.lang.Object
org.oddjob.arooa.design.GenericDesignFactory
- All Implemented Interfaces:
- DesignFactory
public class GenericDesignFactory
- extends Object
- implements DesignFactory
A DesignFactory that creates a DesignInstance
from the properties of a class and it's
- Author:
- rob
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericDesignFactory
public GenericDesignFactory(ArooaClass forClass)
- Constructor.
- Parameters:
forClass - The class. Must not be null.
createDesign
public DesignInstance createDesign(ArooaElement element,
ArooaContext parentContext)
throws ArooaPropertyException
- Description copied from interface:
DesignFactory
- Create a
DesignInstance.
- Specified by:
createDesign in interface DesignFactory
- Parameters:
element - The ArooaElement corresponding to the design.parentContext - The parent ArooaContext in which to
create the design.
- Returns:
- The design.
- Throws:
ArooaPropertyException