code: @Override
  	public void endDocument() throws SAXException
  	{
  		insertNewLine();
  		try
  		{
  			insertNewLine();
  			writer.flush();
  		}
  		catch (final IOException e)
  		{
  			throw new SAXException("I/O error", e);
  		}
  	}
docs: {@inheritDoc}