|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.deploy.MappingsSwitch
public class MappingsSwitch
Provide a consistent ElementMappings
view for the two
individual mappings that are loaded in an ArooaDescriptorBean
.
Constructor Summary | |
---|---|
MappingsSwitch(ElementMappings componentMappings,
ElementMappings valueMappings)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappingsSwitch(ElementMappings componentMappings, ElementMappings valueMappings)
Method Detail |
---|
public ArooaClass mappingFor(ArooaElement element, InstantiationContext context)
ElementMappings
mappingFor
in interface ElementMappings
element
- The element.context
- The InstantiationContext.
public DesignFactory designFor(ArooaElement element, InstantiationContext context)
ElementMappings
designFor
in interface ElementMappings
element
- The element.context
- The InstantiationContext.
public ArooaElement[] elementsFor(InstantiationContext context)
ElementMappings
elementsFor
in interface ElementMappings
public MappingsContents getBeanDoc(ArooaType arooaType)
ElementMappings
BeanDoc for this mapping.
getBeanDoc
in interface ElementMappings
arooaType
- The type of Mapping.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |