public static class HTMLUtils.Link extends HTMLUtils.HTMLTag
Constructor and Description |
---|
HTMLUtils.Link(String url)
Creates a new HTML anchor tag with the specified URL.
|
HTMLUtils.Link(String url,
String content)
Creates a new HTML anchor tag with the specified URL and the given
string as the content.
|
HTMLUtils.Link(String url,
String description,
HTMLUtils.HTMLTag content)
Creates a new HTML anchor tag with the specified URL, description,
and a nested content tag
|
HTMLUtils.Link(String url,
String content,
String description)
Creates a new HTML anchor tag with the specified URL, description,
and a simple content.
|
add, add, attr
addCData, addContent, addContent, addContent, addContent, attr, hasContent, noShorthand, toString
public HTMLUtils.Link(String url)
url
- URL to which this anchor linkspublic HTMLUtils.Link(String url, String content)
url
- URL to which this anchor linkscontent
- simple anchor tag contentpublic HTMLUtils.Link(String url, String content, String description)
url
- URL to which this anchor linksdescription
- alternate link descriptioncontent
- simple anchor tag contentpublic HTMLUtils.Link(String url, String description, HTMLUtils.HTMLTag content)
url
- URL to which this anchor linksdescription
- alternate link descriptioncontent
- HTML tag to be nested in the anchor tag contentCopyright © 2015. All Rights Reserved.