code: @Override
      public String getLocalPart() {
          String localPart = "";
  
          switch (nodeKind) {
          case ELEMENT:
          case ATTRIBUTE:
              localPart = qName.getLocalPart();
              break;
          default:
              // Do nothing.
          }
  
          return localPart;
      }
docs: {@inheritDoc}