public class MappingsSwitch extends Object implements ElementMappings
ElementMappings view for the two
individual mappings that are loaded in an ArooaDescriptorBean.| Constructor and Description |
|---|
MappingsSwitch(ElementMappings componentMappings,
ElementMappings valueMappings) |
| 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.
|
public MappingsSwitch(ElementMappings componentMappings, ElementMappings valueMappings)
public ArooaClass mappingFor(ArooaElement element, InstantiationContext context)
ElementMappingsmappingFor in interface ElementMappingselement - The element.context - The InstantiationContext.public DesignFactory designFor(ArooaElement element, InstantiationContext context)
ElementMappingsdesignFor in interface ElementMappingselement - The element.context - The InstantiationContext.public ArooaElement[] elementsFor(InstantiationContext context)
ElementMappingselementsFor in interface ElementMappingspublic MappingsContents getBeanDoc(ArooaType arooaType)
ElementMappingsgetBeanDoc in interface ElementMappingsarooaType - The type of Mapping.Copyright © 2023. All rights reserved.