code: private boolean checkText(final Characters paramEvent) {
          assert paramEvent != null;
          final String text = paramEvent.getData().trim();
          return mWtx.getNode().getKind() == IConstants.TEXT && mWtx.getValueOfCurrentNode().equals(text);
      }
docs: Check if text event and text in Treetank storage match.
  
  @param paramEvent
  {@link XMLEvent}.
  @return true if they match, otherwise false.