src/main/java/org/fuin/srcgen4j/core/velocity/ParameterizedTemplateModel.java
public final void writeToXml(final File file) {
        try {
            final JaxbHelper helper = new JaxbHelper();
            helper.write(this, file, createJaxbContext());
        } catch (final MarshalObjectException ex) {
            throw new RuntimeException(ex);
        }
    }
public final void writeToXml(final File file) {
        try {
            final JaxbHelper helper = new JaxbHelper();
            helper.write(this, file, createJaxbContext());
        } catch (final MarshalObjectException ex) {
            throw new RuntimeException(ex);
        }
    }
public final void writeToXml ( final File file ) { try { final JaxbHelper helper = new JaxbHelper ( ) ; helper . write ( this , file , createJaxbContext ( ) ) ; } catch ( final MarshalObjectException ex ) { throw new RuntimeException ( ex ) ; } }
Marshals the object to XML.

@param file
File to write the instance to.
Marshals the object to XML .