docs: public void ifHasName(String template, Properties attributes) throws XDocletException
      {
          String name =  getDefForLevel(attributes.getProperty(ATTRIBUTE_LEVEL)).getName();
  
          if ((name != null) && (name.length() > 0))
          {
              generate(template);
          }
      }