org.apache.camel.view
Class ModelFileGenerator

java.lang.Object
  extended by org.apache.camel.view.ModelFileGenerator

public class ModelFileGenerator
extends Object


Constructor Summary
ModelFileGenerator(JAXBContext jaxbContext)
           
 
Method Summary
 void marshalRoutesUsingJaxb(String fileName, List<RouteDefinition> routeTypes)
          Write the specified 'routeTypes' to 'fileName' as XML using JAXB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelFileGenerator

public ModelFileGenerator(JAXBContext jaxbContext)
Method Detail

marshalRoutesUsingJaxb

public void marshalRoutesUsingJaxb(String fileName,
                                   List<RouteDefinition> routeTypes)
                            throws IOException
Write the specified 'routeTypes' to 'fileName' as XML using JAXB.

Throws:
IOException


Apache CAMEL