Spring Web Flow

org.springframework.webflow.engine
Interface SubflowAttributeMapper

All Known Implementing Classes:
GenericSubflowAttributeMapper

public interface SubflowAttributeMapper

A strategy interface used by a subflow state to map subflow input and output attributes.

Author:
Keith Donald

Method Summary
 MutableAttributeMap<java.lang.Object> createSubflowInput(RequestContext context)
          Create a map of attributes that should be passed as input to a subflow.
 void mapSubflowOutput(AttributeMap<?> output, RequestContext context)
          Map output attributes of an ended subflow flow to the resuming parent flow.
 

Method Detail

createSubflowInput

MutableAttributeMap<java.lang.Object> createSubflowInput(RequestContext context)
Create a map of attributes that should be passed as input to a subflow.

Parameters:
context - the current request execution context
Returns:
a map of attributes to pass as input

mapSubflowOutput

void mapSubflowOutput(AttributeMap<?> output,
                      RequestContext context)
Map output attributes of an ended subflow flow to the resuming parent flow.

Parameters:
output - the output attributes returned by the ended subflow
context - the current request execution context, which gives access to the parent flow scope

Spring Web Flow