code: public ScoreNode nextScoreNode() throws IOException {
          if (nodes.hasNext()) {
              NodeImpl n = (NodeImpl) nodes.next();
              return new ScoreNode(n.getData().getIdentifier(), 1.0f);
          } else {
              return null;
          }
      }
docs: {@inheritDoc}