public void save(BufferedWriter out, Object object) throws IOException
	{
		IConfig config = (IConfig) object;

		try
		{
			beginConfigTag(out);

			for (Method method : config.getClass().getMethods())
			{
				if (method.getDeclaringClass().equals(Config.class))
				{
					writeStartTag(method.getName(), out);
					out.write(String.valueOf(method.invoke(config)));
					writeEndTag(method.getName(), out);
				}
			}
			endConfigTag(out);
		}
		catch (IllegalAccessException e)
		{
			e.printStackTrace();
		}
		catch (InvocationTargetException e)
		{
			e.printStackTrace();
		}
	}