code: private void emitNode() throws TTIOException {
          switch (mRtx.getNode().getKind()) {
          case ROOT:
              mEvent = mFac.createStartDocument();
              break;
          case ELEMENT:
              final long key = mRtx.getNode().getDataKey();
              final QName qName = mRtx.getQNameOfCurrentNode();
              mEvent = mFac.createStartElement(qName, new AttributeIterator(mRtx), new NamespaceIterator(mRtx));
              mRtx.moveTo(key);
              break;
          case TEXT:
              mEvent = mFac.createCharacters(mRtx.getValueOfCurrentNode());
              break;
          default:
              throw new IllegalStateException("Kind not known!");
          }
      }
docs: Emit a node.
  
  @param paramRTX
  Treetank reading transaction {@link IReadTransaction}.
  @throws TTIOException