code: @Override
      public MatchType match(int level, Node node) {
          if(! (node instanceof Element)) {
              return MatchType.NOT_A_MATCH;
          }
          Element element = (Element) node;
          if(this.level != level) {
              return MatchType.NOT_A_MATCH;
          } else if(nodename.equals(element.getName())) {
              return MatchType.NODE_MATCH;
          }
          return MatchType.NOT_A_MATCH;
      }
docs: Match method. This method have to make a match decision based on the information provided.
  @param level XML tree level
  @param node current XML tree node
  @return {@code MatchType} defining match status