|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.support.GenericSubflowAttributeMapper
public final class GenericSubflowAttributeMapper
Simple flow attribute mapper that holds an input and output mapper strategy.
| Constructor Summary | |
|---|---|
GenericSubflowAttributeMapper(Mapper inputMapper,
Mapper outputMapper)
Create a new flow attribute mapper using given mapping strategies. |
|
| 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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericSubflowAttributeMapper(Mapper inputMapper,
Mapper outputMapper)
inputMapper - the input mapping strategyoutputMapper - the output mapping strategy| Method Detail |
|---|
public MutableAttributeMap<java.lang.Object> createSubflowInput(RequestContext context)
SubflowAttributeMapper
createSubflowInput in interface SubflowAttributeMappercontext - the current request execution context
public void mapSubflowOutput(AttributeMap<?> output,
RequestContext context)
SubflowAttributeMapper
mapSubflowOutput in interface SubflowAttributeMapperoutput - the output attributes returned by the ended subflowcontext - the current request execution context, which gives access to the parent flow scopepublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||