class XML {

    public static Properties toProperties(final List<Property> props) {
        Properties result = new Properties();
        for (Property p : props) {
            result.setProperty(p.getName(), p.getValue());
        }
        return result;
    }

}