code: @Override
      public int getNameCode() {
          int nameCode = -1;
  
          switch (nodeKind) {
          case ELEMENT:
          case ATTRIBUTE:
          case PROCESSING:
              // case NAMESPACE_KIND:
              nameCode = mDocWrapper.getNamePool().allocate(getPrefix(), getURI(), getLocalPart());
              break;
          default:
              // text, comment, document and namespace nodes.
          }
  
          return nameCode;
      }
docs: {@inheritDoc}