@Override public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { this.elementStack.push(qName); if (qName.equalsIgnoreCase("comment")) { comment = new Comment(); artf.getComments().add(comment); } else if (qName.equalsIgnoreCase("association")) { association = new Association(); artf.getAssociations().add(association); } }