Klasse Links
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.markup.Links
Factory for HTML A elements: links (with a href attribute).
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateExternalLink
(DocLink link, Content label) Creates an external link.createLink
(HtmlId id, Content label) Creates a link of the form label.createLink
(HtmlId id, Content label, boolean link) Creates a link of the form label if link is true, or else just returns label.createLink
(HtmlId id, Content label, String title) Creates a link of the form label.createLink
(DocLink link, Content label) Creates a link of the form label.createLink
(DocLink link, Content label, String title) Creates a link of the form label.createLink
(DocLink link, Content label, HtmlStyle style, String title) Creates a link of the form label.createLink
(DocLink link, Content label, HtmlStyle style, String title, boolean isExternal) Creates a link of the form label.createLink
(DocPath path, String label) Creates a link of the form label.createLink
(DocPath path, Content label) Creates a link of the form label.createLink
(DocPath path, Content label, String title) Creates a link of the form label.createLink
(DocPath path, Content label, HtmlStyle style, String title) Creates a link of the form label.
-
Konstruktordetails
-
Links
Creates a Links object for a specific file.Links to other files will be made relative to this file where possible.
- Parameter:
file
- the file
-
-
Methodendetails
-
createLink
Creates a link of the form label.- Parameter:
id
- the position of the link in the filelabel
- the content for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label if link is true, or else just returns label.- Parameter:
id
- the position of the link in the filelabel
- the content for the linklink
- whether to create a link or just return the label- Gibt zurück:
- the link or just the label
-
createLink
Creates a link of the form label.- Parameter:
id
- the id to which the link will be createdlabel
- the content for the linktitle
- the title for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label.- Parameter:
path
- the path for the linklabel
- the content for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label.- Parameter:
path
- the path for the linklabel
- the content for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label.If style is not null, it will be added as class=“style” to the link.
- Parameter:
path
- the path for the linklabel
- the content for the linkstyle
- the style for the link, or nulltitle
- the title for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label.- Parameter:
path
- the path for the linklabel
- the content for the linktitle
- the title for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label.- Parameter:
link
- the details for the linklabel
- the content for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label.- Parameter:
link
- the details for the linklabel
- the content for the linktitle
- the title for the link- Gibt zurück:
- the link
-
createLink
Creates a link of the form label.If style is not null, it will be added as class=“style” to the link.
- Parameter:
link
- the details for the linklabel
- the content for the linkstyle
- the style for the link, or nulltitle
- the title for the link- Gibt zurück:
- the link
-
createLink
public Content createLink(DocLink link, Content label, HtmlStyle style, String title, boolean isExternal) Creates a link of the form label.If style is not null, it will be added as class=“style” to the link.
- Parameter:
link
- the details for the linklabel
- the content for the linkstyle
- the style for the link, or nulltitle
- the title for the linkisExternal
- is the link external to the generated documentation- Gibt zurück:
- the link
-
createExternalLink
Creates an external link.- Parameter:
link
- the details for the linklabel
- the content for the link- Gibt zurück:
- the link
-