Java Doc for ConfigurableFlowAttributeMapper.java in  » Workflow-Engines » spring-webflow-1.0.4 » org » springframework » webflow » engine » support » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » spring webflow 1.0.4 » org.springframework.webflow.engine.support 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.springframework.webflow.engine.support.AbstractFlowAttributeMapper
      org.springframework.webflow.engine.support.ConfigurableFlowAttributeMapper

ConfigurableFlowAttributeMapper
public class ConfigurableFlowAttributeMapper extends AbstractFlowAttributeMapper implements Serializable(Code)
Generic flow attribute mapper implementation that allows mappings to be configured in a declarative fashion.

Two types of mappings may be configured, input mappings and output mappings:

  1. Input mappings define the rules for mapping attributes in a parent flow to a spawning subflow.
  2. Output mappings define the rules for mapping attributes returned from an ended subflow into the resuming parent.

The mappings defined using the configuration properties fully support bean property access. So an entry name in a mapping can either be "beanName" or "beanName.propName". Nested property values are also supported ("beanName.propName.nestedPropName"). When the from mapping string is enclosed in "${...}", it will be interpreted as an expression that will be evaluated against the flow execution request context.
See Also:   org.springframework.webflow.execution.RequestContext
author:
   Erwin Vervaet
author:
   Keith Donald
author:
   Colin Sampaleanu





Method Summary
public  ConfigurableFlowAttributeMapperaddInputAttribute(String attributeName)
     Adds an input mapping that maps a single attribute in parent flow scope into the subflow input map.
public  voidaddInputAttributes(String[] attributeNames)
     Adds a collection of input mappings that map attributes in parent flow scope into the subflow input map.
public  ConfigurableFlowAttributeMapperaddInputMapping(AttributeMapper inputMapping)
     Adds a new input mapping.
public  voidaddInputMappings(AttributeMapper[] inputMappings)
     Adds a collection of input mappings.
public  ConfigurableFlowAttributeMapperaddOutputAttribute(String attributeName)
     Adds an output mapping that maps a single subflow output attribute into the flow scope of the resuming parent flow.
public  voidaddOutputAttributes(String[] attributeNames)
     Adds a collection of output mappings that map subflow output attributes into the scope of the resuming parent flow.
public  ConfigurableFlowAttributeMapperaddOutputMapping(AttributeMapper outputMapping)
     Adds a new output mapping.
public  voidaddOutputMappings(AttributeMapper[] outputMappings)
     Adds a collection of output mappings.
protected  ExpressionParsergetExpressionParser()
     Returns the configured expression parser.
protected  AttributeMappergetInputMapper()
    
public  AttributeMapper[]getInputMappings()
     Returns a typed-array of configured input mappings.
protected  AttributeMappergetOutputMapper()
    
public  AttributeMapper[]getOutputMappings()
     Returns a typed-array of configured output mappings.
public  voidsetExpressionParser(ExpressionParser expressionParser)
     Set the expression parser responsible for parsing expression strings into evaluatable expression objects.
public  StringtoString()
    



Method Detail
addInputAttribute
public ConfigurableFlowAttributeMapper addInputAttribute(String attributeName)(Code)
Adds an input mapping that maps a single attribute in parent flow scope into the subflow input map. For instance: "x" will result in the "x" attribute in parent flow scope being mapped into the subflow input map as "x".
Parameters:
  attributeName - the attribute in flow scope to map into the subflow this, to support call chaining



addInputAttributes
public void addInputAttributes(String[] attributeNames)(Code)
Adds a collection of input mappings that map attributes in parent flow scope into the subflow input map. For instance: "x" will result in the "x" attribute in parent flow scope being mapped into the subflow input map as "x".
Parameters:
  attributeNames - the attributes in flow scope to map into thesubflow



addInputMapping
public ConfigurableFlowAttributeMapper addInputMapping(AttributeMapper inputMapping)(Code)
Adds a new input mapping. Use when you need full control over defining how a subflow input attribute mapping will be perfomed.
Parameters:
  inputMapping - the input mapping this, to support call chaining



addInputMappings
public void addInputMappings(AttributeMapper[] inputMappings)(Code)
Adds a collection of input mappings. Use when you need full control over defining how a subflow input attribute mapping will be perfomed.
Parameters:
  inputMappings - the input mappings



addOutputAttribute
public ConfigurableFlowAttributeMapper addOutputAttribute(String attributeName)(Code)
Adds an output mapping that maps a single subflow output attribute into the flow scope of the resuming parent flow. For instance: "y" will result in the "y" attribute of the subflow output map being mapped into the flowscope of the resuming parent flow as "y".
Parameters:
  attributeName - the subflow output attribute to map into the parentflow scope this, to support call chaining



addOutputAttributes
public void addOutputAttributes(String[] attributeNames)(Code)
Adds a collection of output mappings that map subflow output attributes into the scope of the resuming parent flow. For instance: "y" will result in the "y" attribute of the subflow output map being mapped into the flowscope of the resuming parent flow as "y".
Parameters:
  attributeNames - the subflow output attributes to map into theparent flow



addOutputMapping
public ConfigurableFlowAttributeMapper addOutputMapping(AttributeMapper outputMapping)(Code)
Adds a new output mapping. Use when you need full control over defining how a subflow output attribute mapping will be perfomed.
Parameters:
  outputMapping - the output mapping this, to support call chaining



addOutputMappings
public void addOutputMappings(AttributeMapper[] outputMappings)(Code)
Adds a collection of output mappings. Use when you need full control over defining how a subflow output attribute mapping will be perfomed.
Parameters:
  outputMappings - the output mappings



getExpressionParser
protected ExpressionParser getExpressionParser()(Code)
Returns the configured expression parser. Can be used by subclasses that build mappings.



getInputMapper
protected AttributeMapper getInputMapper()(Code)



getInputMappings
public AttributeMapper[] getInputMappings()(Code)
Returns a typed-array of configured input mappings. the configured input mappings



getOutputMapper
protected AttributeMapper getOutputMapper()(Code)



getOutputMappings
public AttributeMapper[] getOutputMappings()(Code)
Returns a typed-array of configured output mappings. the configured output mappings



setExpressionParser
public void setExpressionParser(ExpressionParser expressionParser)(Code)
Set the expression parser responsible for parsing expression strings into evaluatable expression objects.



toString
public String toString()(Code)



Methods inherited from org.springframework.webflow.engine.support.AbstractFlowAttributeMapper
public MutableAttributeMap createFlowInput(RequestContext context)(Code)(Java Doc)
abstract protected AttributeMapper getInputMapper()(Code)(Java Doc)
protected MappingContext getMappingContext(RequestContext context)(Code)(Java Doc)
abstract protected AttributeMapper getOutputMapper()(Code)(Java Doc)
public void mapFlowOutput(AttributeMap subflowOutput, RequestContext context)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.