public class BaseElementMappings extends java.lang.Object implements ElementMappings
Constructor and Description |
---|
BaseElementMappings() |
Modifier and Type | Method and Description |
---|---|
DesignFactory |
designFor(ArooaElement element,
InstantiationContext parentContext)
Provide a mapping from an element to the name of a java class
that is a DesignFactory for the element.
|
ArooaElement[] |
elementsFor(InstantiationContext propertyContext)
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 propertyContext)
Provide a mapping from an element to the name of a java class.
|
public ArooaClass mappingFor(ArooaElement element, InstantiationContext propertyContext)
ElementMappings
mappingFor
in interface ElementMappings
element
- The element.propertyContext
- The InstantiationContext.public DesignFactory designFor(ArooaElement element, InstantiationContext parentContext)
ElementMappings
designFor
in interface ElementMappings
element
- The element.parentContext
- The InstantiationContext.public ArooaElement[] elementsFor(InstantiationContext propertyContext)
ElementMappings
elementsFor
in interface ElementMappings
public MappingsContents getBeanDoc(ArooaType arooaType)
ElementMappings
getBeanDoc
in interface ElementMappings
arooaType
- The type of Mapping.