Package com.j3d.gen.docs.reader.tokens
Class TLink
java.lang.Object
com.j3d.gen.docs.reader.tokens.TText
com.j3d.gen.docs.reader.tokens.TLink
Represents a link token in the parsed documentation.
Extends
TText to inherit text formatting properties.- Author:
- Lehlogonolo Poole
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.j3d.gen.docs.reader.tokens.TText
getContent, isBold, isInlineCode, isItalic, setBold, setInlineCode, setItalic
-
Field Details
-
url
The URL of the link.
-
-
Constructor Details
-
TLink
-
-
Method Details
-
getUrl
-
fromText
Creates a newTLinkinstance by copying formatting properties from an existingTTextobject. The content and URL for the new link are provided separately.- Parameters:
t- TheTTextobject from which to copy italic, bold, and inline code properties.content- The text content of the link.url- The URL of the link.- Returns:
- A new
TLinkinstance with the specified content and URL, and formatting properties copied from the inputTTextobject.
-