protected void doneParsing() throws SAXException { if ( propertiesReadHandler == null ) { return; } final Properties result = propertiesReadHandler.getResult(); for ( final Map.Entry<Object, Object> entry : result.entrySet() ) { final String code = (String) entry.getKey(); final String attribute = (String) entry.getValue(); databaseConnection.getAttributes().put( code, ( attribute == null || attribute.length() == 0 ) ? "" : attribute ); //$NON-NLS-1$ } }