code: @Override
      public String getDisplayName() {
          String dName = "";
  
          switch (nodeKind) {
          case ELEMENT:
          case ATTRIBUTE:
              String prefix = getPrefix();
              if (prefix.isEmpty()) {
                  dName = getLocalPart();
              } else {
                  dName = prefix + ":" + getLocalPart();
              }
              break;
          case NAMESPACE:
          case PROCESSING:
              dName = getLocalPart();
              break;
          default:
              // Do nothing.
          }
  
          return dName;
      }
docs: {@inheritDoc}