Get the html code to access this link.
322218
public String getLink()
    {
        String strType = this.getField(Menus.TYPE).getString();
        String strLink = this.getField(Menus.PROGRAM).getString();
        if (strLink != null)
            if (strLink.length() > 1)
                if (strLink.charAt(0) == '.')
                    strLink = DBConstants.ROOT_PACKAGE + strLink.substring(1);
        String strTitle = this.getField(Menus.NAME).getString();
        String strParams = Utility.addURLParam(null, strType, strLink); // Default command
        if ((strType.equalsIgnoreCase(DBParams.SCREEN))
                || (strType.equalsIgnoreCase(DBParams.RECORD)))
        {
            strParams = Utility.addURLParam(null, strType, strLink);
        }
        else if ((strType.equalsIgnoreCase(MenuConstants.MENUREC)) 
                || (strType.equalsIgnoreCase(MenuConstants.FORM))
                || (strType.equalsIgnoreCase(MenuConstants.GRID)))
        {
            strParams = Utility.addURLParam(null, DBParams.RECORD, strLink);
            strParams = Utility.addURLParam(strParams, DBParams.COMMAND, strType);
        }
        else if (strType.equalsIgnoreCase(DBParams.MENU))
        { // Default is correct
            if ((strLink == null) || (strLink.length() == 0))
            {
                strLink = this.getField(Menus.CODE).toString();
                if ((strLink == null) || (strLink.length() == 0))
                    strLink = Converter.stripNonNumber(this.getField(Menus.ID).toString());
                strParams = Utility.addURLParam(null, strType, strLink); // Default command
            }
        }
        else if (strType.equalsIgnoreCase(DBParams.XML))
        {
            strParams = Utility.addURLParam(strParams, "title", strTitle);
        }
        else if (strType.equalsIgnoreCase(DBParams.LINK))
        {
            strParams = strLink;
            if (((strLink.indexOf('.') < strLink.indexOf('/'))
                && (strLink.indexOf('.') != -1))
                || ((strLink.indexOf('/') == -1) && (strLink.indexOf(':') == -1)))
                    strParams = "http://" + strLink; // Default command - In the html implementation, this creates an href
        }
        else if (strType.equalsIgnoreCase(DBParams.MAIL))
        {
            strParams = strLink;
            if (strLink.indexOf("mailto:") != 0)
                strParams = "mailto:" + strLink;
        }
        else if (strType.equalsIgnoreCase(DBParams.APPLET))
        { // Default is usually okay
            if ((strLink == null) || (strLink.length() == 0))
                strParams = Utility.addURLParam(null, strType, DBParams.BASE_APPLET); // Default command
            if (strParams.indexOf(DBConstants.DEFAULT_SERVLET) == 0)
                strParams = strParams.substring(DBConstants.DEFAULT_SERVLET.length());
        }
        else
        { // Default is okay
        }
        Map<String,Object> properties = ((PropertiesField)this.getField(Menus.PARAMS)).loadProperties();
        if (properties != null)
            if (DBConstants.BLANK.equalsIgnoreCase((String)properties.get(DBParams.USER_NAME)))
        {       // They want me to fill in the user name
            if (this.getTask() != null)
            {
                if (this.getTask().getProperty(DBParams.USER_ID) != null)
                    properties.put(DBParams.USER_ID, this.getTask().getProperty(DBParams.USER_ID));
        // todo (don) For now, don't pass authentication to remote menu items
        //        if (this.getTask().getProperty(DBParams.AUTH_TOKEN) != null)    // This is used instead of a password to authenticate
        //            properties.put(DBParams.AUTH_TOKEN, this.getTask().getProperty(DBParams.AUTH_TOKEN));
                properties.remove(DBParams.USER_NAME);
            }
        }
        if (properties != null)
            if (!strType.equalsIgnoreCase(DBParams.MENU))
                strParams = Utility.propertiesToURL(strParams, properties);
        return strParams;
    }
685215
def html(self) -> str:
        """"""
        if self.parentNode and self.parentNode._should_escape_text:
            return html.escape(self.data)
        return self.data
917267
public function getJsCode()
    {
        $html = '';
        foreach ($this->js as $js) {
            $html .= sprintf('<script src="%s"></script>', $js);
        }
        foreach ($this->entry as $entry) {
            $html .= sprintf('<script>System.import(\'%s\')</script>', $entry);
        }
        return $html;
    }
263159
public Type getLink()
        throws CacheReloadException
    {
        if (this.link == null) {
            Attribute.LOG.error("Access on Attribute Link without parent defintion: {}", this);
        }
        return Type.get(this.link);
    }
262639
public function getHtml(): string
  {
    $html = $this->prefix;
    $html .= Html::generateElement('span', $this->attributes, $this->innerHtml, true);
    $html .= $this->postfix;

    return $html;
  }
922434
def get_code(url, code = nil, options = nil)
      code ||= if options && options.with_charset?
        shorten_fixed_charset(url, options.length, options.charset)
      else
        shorten(url)
      end
    end
573789
def as_html(self):
        
        url = '{prefix}{code}.html?download'.format(prefix=EPSG_IO_URL,
                                                    code=self.id)
        return requests.get(url).text
233257
public function getHtml()
    {
        $url = json_encode((string) $this->resolver->resolve(['/install', 'web_precondition', 'request_urls', '20']));
        $errorMessage = json_encode(t('concrete5 cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.'));
        $myIdentifier = json_encode($this->getUniqueIdentifier());

        return <<<EOT
<script>
$(document).ready(function() {
    $.ajax({
        cache: false,
        dataType: 'json',
        method: 'GET',
        url: {$url}
    })
    .done(function(data) {
        if (data.response === 400) {
            setWebPreconditionResult({$myIdentifier}, true);
        } else {
            setWebPreconditionResult({$myIdentifier}, false, {$errorMessage});
        }
    })
    .fail(function(xhr, textStatus, errorThrown) {
        setWebPreconditionResult({$myIdentifier}, false, {$errorMessage});
    });
});
</script>
EOT
        ;
    }
33569
def _get_html_contents(html):
    """"""
    parser = MyHTMLParser()
    parser.feed(html)
    if parser.is_code:
        return ('code', parser.data.strip())
    elif parser.is_math:
        return ('math', parser.data.strip())
    else:
        return '', ''
614808
public String getLink()
    {
        String strType = this.getField(ClassInfo.CLASS_TYPE).getString();
        String strLink = this.getField(ClassInfo.CLASS_NAME).getString();
        if (this.getField(ClassInfo.CLASS_PACKAGE).getLength() > 0)
            strLink = DBConstants.ROOT_PACKAGE + this.getField(ClassInfo.CLASS_PACKAGE).toString() + "." + strLink;
        if (strType.equalsIgnoreCase("screen"))
            strLink = HtmlConstants.SERVLET_LINK + "?screen=" + strLink;
        else if (strType.equalsIgnoreCase("record"))
            strLink = HtmlConstants.SERVLET_LINK + "?record=" + strLink;
        return strLink;
    }
847228
def html(self) -> str:
        """"""
        if self._inner_element:
            return self.start_tag + self._inner_element.html + self.end_tag
        return super().html
843271
@HtmlSafe
	public String getBodyHtml()
	{
		String body = execution.getResults().trim();

		return body.replaceAll("<html>", "").replaceAll("</html>", "");
	}
743489
public function getCode()
    {
        $html = $this->form;

        if ($this->meta->checks['honeypots'])
        {
            $html = $this->createHoneypots($html, $this->honeypots);
        }

        $botoborData =
            '<div style="display: none;">' .
            $this->createInput('hidden', Botobor::META_FIELD_NAME, $this->meta->getEncoded()) .
            '</div>';

        $html = preg_replace('/(<form[^>]*>)/si', '$1'.$botoborData, $html);

        return $html;
    }
405598
def parse_code(self, url, html):
        
        soup = BeautifulSoup(html, 'html5lib', from_encoding='utf-8')

        # -- main text
        div = (soup
               .find('div', id='content_false')
               .find('div', attrs={'class': 'data'}))

        code = Code(self.id_code,
                    date_pub=self.date_pub,
                    url_code=cleanup_url(url))

        # -- Code title/subtitle
        div_title = div.find('div', id='titreTexte')
        span_subtitle = div_title.find('span',
                                       attrs={'class': 'sousTitreTexte'})
        if span_subtitle:
            code.title = div_title.text.replace(span_subtitle.text, '')
            code.subtitle = span_subtitle.text.strip()
            regex = r'Version consolidée au (\d{1,2}(?:er)?\s+[^\s]+\s+\d{4})'
            m = re.search(regex, code.subtitle)
            if m:
                code.date_pub = parse_date(m.group(1))

        code.title = code.title.strip()

        # -- TOC
        code.children = [self.parse_code_ul(url, child)
                         for child in div.find_all('ul', recursive=False)]

        return code
386521
public function getHtml(): string
  {
    $ret = $this->prefix;
    $ret .= Html::generateElement('a', $this->attributes, $this->innerHtml, true);
    $ret .= $this->postfix;

    return $ret;
  }
152685
def get_html_string(self):
        """"""
        if self.__htmltree is not None:
            return htmltostring(self.__htmltree)
        else:
            self.__make_tree()
            return htmltostring(self.__htmltree)
332013
public String htmlSource() {
        try {
            return driver.getPageSource();
        } catch (Exception e) {
            log.warn(e);
            return null;
        }
    }