@Override
  public void endElement(String uri, String localName, String qName) throws SAXException {

    if (qName.equals("name")) current.setName(buffer.toString());

    if (qName.equals("org.opencrx.kernel.activity1.ActivityProcessState")) dest.add(current);

    super.endElement(uri, localName, qName);
  }
  @Override
  public void startElement(String uri, String localName, String qName, Attributes attributes)
      throws SAXException {

    super.startElement(uri, localName, qName, attributes);

    if (qName.equals("org.opencrx.kernel.activity1.ActivityProcessState")) {
      current = new OpencrxActivityProcessState();

      current.setId(attributes.getValue("id"));
    }

    if (qName.equals("name")) initBuffer();
  }