org.springframework.webflow.upgrade
Class WebFlowUpgrader
java.lang.Object
org.springframework.webflow.upgrade.WebFlowUpgrader
public class WebFlowUpgrader
- extends Object
Converts Web Flow 1 flow definitions to the version 2 syntax. To use, invoke as a Java application, passing the
file-system path to the flow definition you wish to convert as a program argument. The converted flow definition is
printed to standard out.
This class requires a XSLT transformer to run. Saxon is recommended to preserve flow definition formatting and line
breaks.
- Author:
- Scott Andrews
WebFlowUpgrader
public WebFlowUpgrader()
main
public static void main(String[] args)
convert
public String convert(org.springframework.core.io.Resource flowResource)
transform
public void transform(Source source,
Result result)
throws TransformerConfigurationException,
TransformerException,
IOException
- Throws:
TransformerConfigurationException
TransformerException
IOException