001package org.dllearner.configuration.util;
002
003import org.apache.xmlbeans.XmlObject;
004import org.dllearner.configuration.IConfiguration;
005
006/**
007 * Created by IntelliJ IDEA.
008 * User: Chris
009 * Date: 8/30/11
010 * Time: 5:20 AM
011 *
012 * Interface designed to convert an IConfiguration object into an XML Bean Object.
013 */
014public interface ConfigurationXMLBeanConverter {
015
016    /**
017     * Convert configuration to XmlObject.
018     *
019     * @param configuration The configuration object to convert
020     * @return The resulting xml bean object
021     */
022    XmlObject convert(IConfiguration configuration);
023}