public static void plguiWriteUrlInDetail(org.powerloom.PrintableStringWriter stream, String target, String action, String objecttype, String contextname, String objectname, String objecttitle, boolean rawtitleP) {
    action = action;
    stream.print("<A ");
    if (target != null) {
      stream.print("TARGET='" + target + "' ");
    }
    stream.print("HREF='plgui:navigateTo?type=" + Native.stringUpcase(objecttype) + "&id=");
    Stella.writeHtmlEscapingUrlSpecialCharacters(stream, objectname);
    stream.print("&module=");
    Stella.writeHtmlEscapingUrlSpecialCharacters(stream, contextname);
    stream.print("'>");
    if (rawtitleP) {
      stream.print(objecttitle);
    }
    else {
      Stella.writeHtmlQuotingSpecialCharacters(stream, objecttitle);
    }
    stream.print("</A>");
    return;
  }