Interface CodeDocLink
public interface CodeDocLink
Represents a parsed link of a
CodeDoc.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
- See Also:
-
Method Details
-
getSimpleName
String getSimpleName()- Returns:
- the
simple nameof the linked type.
-
getQualifiedName
String getQualifiedName()- Returns:
- the
qualified nameof the linked type. May benullif unqualified name was given. In such case it has to be looked up viaimports.
-
getAnchor
String getAnchor()- Returns:
- the optional linked anchor or
nullfor none.
-
getMethodLink
CodeDocMethodLink getMethodLink()- Returns:
- the optional
CodeDocMethodLinkif theanchoris a method reference ornullfor none.
-
getText
String getText()- Returns:
- the text of the link.
-
getLinkedValue
-
getLinkedValueAsString
- Returns:
- the
linked valueasStringwith fallback togetSimpleName()with optionalanchor. Therefore nevernull.
-
getLinkUrl
String getLinkUrl()- Returns:
- the resolved URL of this link.
-