@Override
        public void addAttribute(@NonNls String key, String nsPrefix, String nsURI, String value, String type) {
          if (elementStarted && key.equals("name")) {
            consumer.accept(value);
            elementStarted = false;
          }
        }
@Override
        public void addAttribute(@NonNls String key, String nsPrefix, String nsURI, String value, String type)