public interface ElementMappings
Modifier and Type | Method and Description |
---|---|
DesignFactory |
designFor(ArooaElement element,
InstantiationContext context)
Provide a mapping from an element to the name of a java class
that is a DesignFactory for the element.
|
ArooaElement[] |
elementsFor(InstantiationContext context)
Provide a list of all elements in this mapping that support
the given context.
|
MappingsContents |
getBeanDoc(ArooaType arooaType)
Get the BeanDoc for this mapping.
|
ArooaClass |
mappingFor(ArooaElement element,
InstantiationContext context)
Provide a mapping from an element to the name of a java class.
|
ArooaClass mappingFor(ArooaElement element, InstantiationContext context)
element
- The element.context
- The InstantiationContext.DesignFactory designFor(ArooaElement element, InstantiationContext context)
element
- The element.context
- The InstantiationContext.ArooaElement[] elementsFor(InstantiationContext context)
MappingsContents getBeanDoc(ArooaType arooaType)
arooaType
- The type of Mapping.