String ownerName = removeHtmlSuffix(Location.getURI(sym.owner()).toString()); String target = ref(sym.owner()); page.printlnAhref(target, ROOT_FRAME_NAME, ownerName);
printPath(sym.owner());
    protected void addTitle(Symbol sym) {	if (sym.isRoot()) {	    page.printlnOTag("div", ATTRS_PAGE_TITLE).indent();            page.println(doctitle.replaceAll("<.*>", " "));            page.printlnSTag("br");            page.println("API Specification").undent();            page.printlnCTag("div");            page.println("This document is the API specification for "                + doctitle.replaceAll("<.*>", " ") + ".");            page.printlnSTag("p");        } else {	    // in	    page.print("in ");	    String ownerName = removeHtmlSuffix(Location.getURI(sym.owner()).toString());	    String target = ref(sym.owner());	    page.printlnAhref(target, ROOT_FRAME_NAME, ownerName);            // kind and name	    page.printlnOTag("div", ATTRS_ENTITY).indent();	    if (sym.isPackage())		page.print("package ");	    else		page.print(kind(sym) + " ");			    page.printlnTag("span", ATTRS_ENTITY, sym.nameString()).undent();	    page.printlnCTag("div");	    page.printlnHLine();	    // complete signature	    // !!! page.println(printer().printTemplateHtmlSignature(sym, false).toString());	    	    symtab.printTemplateHtmlSignature(sym, sym.owner(), false);	    	    // implementing classes or modules	    if (sym.isClass()) {		List subList = (List) subs.get(sym);		if (subList != null && subList.size() != 0) {		    page.printlnOTag("dl").indent();		    page.printlnOTag("dt");		    page.printlnBold("Implementing classes or objects:");		    page.printlnCTag("dt");		    Iterator it = subList.iterator();		    while (it.hasNext()) {			Pair p = (Pair) it.next();			Symbol sub = (Symbol) p.fst;			Type tipe = (Type) p.snd;			page.printlnOTag("dd");			defString(sub, sym, true /*addLink*/);			if (sub.owner() != sym.owner()) {                            page.print(" in ");                            page.printlnAhref(ref(sub.owner()), ROOT_FRAME_NAME,			                      sub.owner().fullNameString());                        }			page.printlnCTag("dd");		    }                    page.undent();		    page.printlnCTag("dl");		}	    }	}    }