org.apache.camel.view
Class ModelFileGenerator
java.lang.Object
org.apache.camel.view.ModelFileGenerator
public class ModelFileGenerator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelFileGenerator
public ModelFileGenerator(JAXBContext jaxbContext)
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