org.springframework.webflow.upgrade
Class WebFlowUpgrader

java.lang.Object
  extended by 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

Constructor Summary
WebFlowUpgrader()
           
 
Method Summary
 String convert(org.springframework.core.io.Resource flowResource)
           
static void main(String[] args)
           
 void transform(Source source, Result result)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebFlowUpgrader

public WebFlowUpgrader()
Method Detail

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