|
|||||||||
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 |
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenericSubflowAttributeMapper(Mapper inputMapper, Mapper outputMapper)
inputMapper
- the input mapping strategyoutputMapper
- the output mapping strategyMethod Detail |
---|
public MutableAttributeMap createSubflowInput(RequestContext context)
SubflowAttributeMapper
createSubflowInput
in interface SubflowAttributeMapper
context
- the current request execution context
public void mapSubflowOutput(AttributeMap output, RequestContext context)
SubflowAttributeMapper
mapSubflowOutput
in interface SubflowAttributeMapper
output
- the output attributes returned by the ended subflowcontext
- the current request execution context, which gives access to the parent flow scopepublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |