code: public void close() throws KNXMLException
  	{
  		if (!layout.isEmpty())
  			endAllElements();
  		if (closeWriter)
  			try {
  				w.close();
  			}
  			catch (final IOException e) {
  				throw new KNXMLException(e.getMessage());
  			}
  	}
docs: /* (non-Javadoc)
  @see tuwien.auto.calimero.xml.XMLWriter#close()