Get link for next file.  If next is null, just print the label
without linking it anywhere.

@param next File name for the next link
@return a content tree for the link
186709
public Content getNavLinkNext(DocPath next) {
        Content li;
        if (next != null) {
            li = HtmlTree.LI(getHyperLink(next, nextLabel, "", ""));
        }
        else
            li = HtmlTree.LI(nextLabel);
        return li;
    }
520066
public Object getNextData()
    {
        try   {
            String strNext = m_daIn.readUTF();
            return strNext;
        } catch (IOException ex)    {
            ex.printStackTrace();
            return null;
        }
    }
1161478
public Content getNavLinkNext() {
        Content nextletterLabel = getResource("doclet.Next_Letter");
        if (next == -1) {
            return HtmlTree.LI(nextletterLabel);
        }
        else {
            Content nextLink = getHyperLink(DocPaths.indexN(next),
                    nextletterLabel);
            return HtmlTree.LI(nextLink);
        }
    }
977354
public DependencyPath next() {
        if (next == null)
            throw new NoSuchElementException("No further paths to return");
        DependencyPath p = next;
        advance();
        return p;
    }
168726
protected CmsResource getNextResource() {

        if ((m_collectorResult != null) && (m_collectorResult.size() > 0)) {

            m_contentInfoBean.incResultIndex();
            return m_collectorResult.remove(0);
        }

        return null;
    }
298692
@Trivial
    private String getNextURL(String currentURL) {
        List<String> urlList = getEnvURLList();
        int urlIndex = getURLIndex(currentURL, urlList);
        return urlList.get((urlIndex + 1) % urlList.size());
    }
862090
@Override
	public BundlePath nextPath() {

		currentBundle = bundlesIterator.next();

		if (null != currentBundle.getExplorerConditionalExpression())
			commentCallbackHandler.openConditionalComment(currentBundle.getExplorerConditionalExpression());

		String name = currentBundle.getId();

		BundlePath bundlePath = null;

		String productionURL = currentBundle.getAlternateProductionURL();
		if (StringUtils.isEmpty(productionURL)) {
			bundlePath = new BundlePath(currentBundle.getBundlePrefix(),
					PathNormalizer.joinPaths(currentBundle.getURLPrefix(variants), name), false);
		} else {
			bundlePath = new BundlePath(currentBundle.getBundlePrefix(), productionURL, true);
		}

		return bundlePath;
	}
334538
public synchronized Document next() {
        Document next = new StringDocument(nextLine);
        try {
            nextLine = documentsReader.readLine();

            // close the stream if there were no more lines
            if (nextLine == null) {
                documentsReader.close();
            }
        } catch (Throwable t) {
            t.printStackTrace();
            nextLine = null;
        }
        return next;
    }
660879
public String linkTo(@javax.annotation.Nonnull final File file) throws IOException {
    return codeFile(file);
  }
244789
protected Content getNavLinkNext() {
        if (next == null) {
            return getNavLinkNext(null);
        } else {
            DocPath path = DocPath.relativePath(packagedoc, next);
            return getNavLinkNext(path.resolve(DocPaths.PACKAGE_TREE));
        }
    }
124698
public static Path getNextPath(String prefix) {
        Path path;

        do {
            path = Paths.get(String.format("%s%s", prefix, Integer.toString(nextDumpPathSuffix)));
            nextDumpPathSuffix++;
        } while (Files.exists(path));

        return path;
    }
261526
protected String getNextUrl() {
		String url = urls.get(currentIndex);
		currentIndex = (currentIndex + 1) % urls.size();
		return url;
	}
108424
@Override
  public String getNext() {
    try {
      int nextTok = st.nextToken();
      switch (nextTok) {
        case java.io.StreamTokenizer.TT_EOL:
          return eolString;
        case java.io.StreamTokenizer.TT_EOF:
          return null;
        case java.io.StreamTokenizer.TT_WORD:
          return st.sval;
        case java.io.StreamTokenizer.TT_NUMBER:
          return Double.toString(st.nval);
        default:
          char[] t = { (char) nextTok };    // (array initialization)
          return new String(t);
      }
    } catch (IOException ioe) {
      // do nothing, return null
      return null;
    }
  }
969849
public final Link getNextPhysicalLink() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.entry(this, tc, "getNextPhysicalLink", _positionString());
        }
        Link nextLink = _nextLink;
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.exit(this, tc, "getNextPhysicalLink", nextLink);
        }
        return nextLink;
    }
981769
public String next() {
    seq++;
    String text = pattern;
    for (final Integer paramLevel : params) {
      text = Strings.replace(text, "{" + paramLevel + "}", generator.getSytle(paramLevel.intValue())
          .curSeqText());
    }
    return Strings.replace(text, "{" + level + "}", seqNumStyle.build(seq));
  }
726942
public String getNextLine() {
		if (!isNextLine()) {
			return null;
		}
		if (isTag(nextLine))
			return FlatFileUtils.trimRight(nextLine,
					getTagWidth(nextLine));
		else
			return nextLine.trim();
	}
781851
protected Content getNextFile() throws IOException {
        JarEntry entry;
        if ((entry = jis.getNextJarEntry()) != null) {
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            byte[] data = new byte[BUFFER];
            int size;
            while ((size = jis.read(data, 0, data.length)) != -1) {
                bos.write(data, 0, size);
            }
            Content file = new Content(entry.getName(), bos.toByteArray());
            bos.close();
            return file;
        }
        return null;
    }