Class GenericSubflowAttributeMapper
java.lang.Object
org.springframework.webflow.engine.support.GenericSubflowAttributeMapper
- All Implemented Interfaces:
- Serializable,- SubflowAttributeMapper
public final class GenericSubflowAttributeMapper
extends Object
implements SubflowAttributeMapper, Serializable
Simple flow attribute mapper that holds an input and output mapper strategy.
- Author:
- Keith Donald
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionGenericSubflowAttributeMapper(Mapper inputMapper, Mapper outputMapper) Create a new flow attribute mapper using given mapping strategies.
- 
Method SummaryModifier and TypeMethodDescriptioncreateSubflowInput(RequestContext context) Create a map of attributes that should be passed as input to a subflow.voidmapSubflowOutput(AttributeMap<?> output, RequestContext context) Map output attributes of an ended subflow flow to the resuming parent flow.toString()
- 
Constructor Details- 
GenericSubflowAttributeMapperCreate a new flow attribute mapper using given mapping strategies.- Parameters:
- inputMapper- the input mapping strategy
- outputMapper- the output mapping strategy
 
 
- 
- 
Method Details- 
createSubflowInputDescription copied from interface:SubflowAttributeMapperCreate a map of attributes that should be passed as input to a subflow.- Specified by:
- createSubflowInputin interface- SubflowAttributeMapper
- Parameters:
- context- the current request execution context
- Returns:
- a map of attributes to pass as input
 
- 
mapSubflowOutputDescription copied from interface:SubflowAttributeMapperMap output attributes of an ended subflow flow to the resuming parent flow.- Specified by:
- mapSubflowOutputin interface- SubflowAttributeMapper
- Parameters:
- output- the output attributes returned by the ended subflow
- context- the current request execution context, which gives access to the parent flow scope
 
- 
toString
 
-