Lines Matching refs:sh
140 * @param sh search helper which has all required fields set
147 public static void prettyPrint(Writer out, SearchHelper sh, int start,
150 String ctxE = Util.URIEncodePath(sh.contextPath);
151 String xrefPrefix = sh.contextPath + Prefix.XREF_P;
152 String morePrefix = sh.contextPath + Prefix.MORE_P;
156 File xrefDataDir = new File(sh.dataRoot, Prefix.XREF_P.toString());
159 createMap(sh.searcher, sh.hits, start, end).entrySet()) {
167 if (sh.desc != null) {
169 out.write(sh.desc.get(parent)); // htmlize ???
193 if (sh.sourceContext != null) {
200 if (Genre.XREFABLE == genre && sh.summerizer != null) {
201 String xtags = getTags(xrefDataDir, rpath, sh.compressed);
205 out.write(sh.summerizer.getSummary(xtags).toString());
206 } else if (Genre.HTML == genre && sh.summerizer != null) {
207 String htags = getTags(sh.sourceRoot, rpath, false);
208 out.write(sh.summerizer.getSummary(htags).toString());
211 ? new FileReader(new File(sh.sourceRoot, rpath))
213 sh.sourceContext.getContext(r, out, xrefPrefix,
217 if (sh.historyContext != null) {
218 sh.historyContext.getContext(new File(sh.sourceRoot, rpath),
219 rpath, out, sh.contextPath);