Use this method, if you want to download a linked note as HTML.

@param linkedNotebook The referenced {@link LinkedNotebook}. Its GUID and share key must not be
{@code null}.
@return An async wrapper to load a note as HTML from the Evernote service.
324727
public EvernoteHtmlHelper getLinkedHtmlHelper(@NonNull LinkedNotebook linkedNotebook) throws EDAMUserException, EDAMSystemException, EDAMNotFoundException, TException {
        String key = linkedNotebook.getGuid();

        EvernoteHtmlHelper htmlHelper = mLinkedHtmlHelper.get(key);
        if (htmlHelper == null) {
            String url = linkedNotebook.getNoteStoreUrl();

            EvernoteNoteStoreClient client = getNoteStoreClient(url, EvernotePreconditions.checkNotEmpty(mEvernoteSession.getAuthToken()));
            AuthenticationResult authenticationResult = client.authenticateToSharedNotebook(linkedNotebook.getShareKey());

            htmlHelper = createHtmlHelper(authenticationResult.getAuthenticationToken());

            mLinkedHtmlHelper.put(key, htmlHelper);
        }

        return htmlHelper;
    }
338496
public synchronized EvernoteHtmlHelper getHtmlHelperBusiness() throws TException, EDAMUserException, EDAMSystemException {
        if (mHtmlHelperBusiness == null) {
            authenticateToBusiness();
            mHtmlHelperBusiness = createHtmlHelper(mBusinessAuthenticationResult.getAuthenticationToken());
        }
        return mHtmlHelperBusiness;
    }
998576
public org.jsoup.nodes.Document htmlToJsoupDoc(String html){

        // 將 html(html/html5) 轉為 jsoup Document 物件
        Document jsoupDoc = Jsoup.parse(html, "UTF-8", Parser.htmlParser() );
        jsoupDoc.charset(StandardCharsets.UTF_8);

        return jsoupDoc;
    }
670943
public Content getDocLink(LinkInfoImpl.Kind context, Element element, CharSequence label) {
        return getDocLink(context, utils.getEnclosingTypeElement(element), element,
                new StringContent(label));
    }
332013
public String htmlSource() {
        try {
            return driver.getPageSource();
        } catch (Exception e) {
            log.warn(e);
            return null;
        }
    }
303234
public String html() {
        StringBuilder sb = StringUtil.borrowBuilder();
        for (Element element : this) {
            if (sb.length() != 0)
                sb.append("\n");
            sb.append(element.html());
        }
        return StringUtil.releaseBuilder(sb);
    }
247393
@javax.annotation.Nonnull
  public com.simiacryptus.util.io.MarkdownNotebookOutput setAbsoluteUrl(final String absoluteUrl) {
    this.absoluteUrl = absoluteUrl;
    return this;
  }
622058
public static <T> LinkedList<T> newLinkedList(Iterable<? extends T> elements) {
		return Lists.newLinkedList(elements);
	}
555260
public String getHtmlString(Record recMenu)
    {
        String strCellFormat = null;
        if ((strCellFormat == null) || (strCellFormat.length() == 0))
        {
            ResourceBundle reg = ((BaseApplication)((BaseMenuScreen)this.getScreenField()).getTask().getApplication()).getResources(HtmlConstants.HTML_RESOURCE, false);
            strCellFormat = reg.getString("htmlAppMenu");
        }
        if ((strCellFormat == null) || (strCellFormat.length() == 0))
            strCellFormat = "<items columns=\"5\"><td align=center valign=\"top\"><a href=\""
                + HtmlConstants.LINK_TAG + "\"><img src=\"" + HtmlConstants.HTML_ROOT + HtmlConstants.ICON_TAG
                + "\" width=\"24\" height=\"24\"><br/>" + HtmlConstants.TITLE_TAG + "</a></td></items>";
        return strCellFormat;
    }
299574
def link_helper(note)
        onclick = note.onclick
        unless href = note.link
          href = '#'
          onclick ||= "Footnotes.hideAllAndToggle('#{note.to_sym}_debug_info');return false;" if note.has_fieldset?
        end

        "<a href=\"#{href}\" onclick=\"#{onclick}\">#{note.title}</a>"
      end
1283501
public Html download(String url, String charset) {
        Page page = download(new Request(url), Site.me().setCharset(charset).toTask());
        return (Html) page.getHtml();
    }
84768
public String getNote()
        throws EFapsException
    {
        String ret = "";
        final QueryBuilder queryBldr = new QueryBuilder(CIAdminUser.Abstract);
        queryBldr.addWhereAttrEqValue(CIAdminUser.Abstract.ID, getId());
        final MultiPrintQuery multi = queryBldr.getPrint();
        multi.addAttribute(CIAdminUser.Abstract.Note);
        if (multi.execute()) {
            multi.next();
            ret = multi.getAttribute(CIAdminUser.Abstract.Note);
        }
        return ret;
    }
1080427
protected final ChainWriter getHTMLChainWriter(WebSiteRequest req, HttpServletResponse resp) throws IOException {
		resp.setContentType("text/html");
		resp.setCharacterEncoding("UTF-8");
		String[] headers=getAdditionalHeaders(req);
		if(headers!=null) {
			int len=headers.length;
			for(int c=0; c<len; c+=2) resp.setHeader(headers[c], headers[c+1]);
		}
		return new ChainWriter(resp.getWriter());
	}
821432
public XHTMLText appendOpenAnchorTag(String href, String style) {
        text.halfOpenElement(A);
        text.optAttribute(HREF, href);
        text.optAttribute(STYLE, style);
        text.rightAngleBracket();
        return this;
    }
805426
public String toHtml(Locale locale) {

        CmsMessages mg = Messages.get().getBundle(locale);
        if (m_brokenLinks.size() > 0) {
            StringBuffer result = new StringBuffer(1024);
            Iterator<Entry<String, String>> brokenLinks = m_brokenLinks.entrySet().iterator();
            result.append(mg.key(Messages.GUI_LINK_VALIDATION_RESULTS_INTRO_1, new Object[] {m_validationDate})).append(
                "<ul>");
            while (brokenLinks.hasNext()) {
                Entry<String, String> link = brokenLinks.next();
                String linkPath = link.getKey();
                String linkUrl = link.getValue();
                String msg = mg.key(Messages.GUI_LINK_POINTING_TO_2, new Object[] {linkPath, linkUrl});
                result.append("<li>").append(msg).append("</li>");
            }
            return result.append("</ul>").toString();
        } else {
            return mg.key(Messages.GUI_LINK_VALIDATION_RESULTS_ALL_VALID_1, new Object[] {m_validationDate});
        }
    }
1304173
@Override
	public List<String> getLinkedWorkbooks() {
		List<String> result = new ArrayList<>();
		if (this.currentWorkbook instanceof HSSFWorkbook) {
			result = getLinkedWorkbooksHSSF();
    
		} else if (this.currentWorkbook instanceof XSSFWorkbook) {
			// use its API
			for (ExternalLinksTable element: ((XSSFWorkbook)this.currentWorkbook).getExternalLinksTable()) {
				result.add(element.getLinkedFileName());
			}
		} else {
			LOG.warn("Cannot determine linked workbooks");
		}
		return result;
	}
972136
def _notebook(trigger, note_store):
        
        note = Types.Note()
        if trigger.notebook:
            # get the notebookGUID ...
            notebook_id = EvernoteMgr.get_notebook(note_store, trigger.notebook)
            # create notebookGUID if it does not exist then return its id
            note.notebookGuid = EvernoteMgr.set_notebook(note_store, trigger.notebook, notebook_id)

            if trigger.tag:
                # ... and get the tagGUID if a tag has been provided
                tag_id = EvernoteMgr.get_tag(note_store, trigger.tag)
                if tag_id is False:
                    tag_id = EvernoteMgr.set_tag(note_store, trigger.tag, tag_id)
                    # set the tag to the note if a tag has been provided
                    if tag_id:
                        note.tagGuids = tag_id

            logger.debug("notebook that will be used %s", trigger.notebook)
        return note