Class JavaDocLink
- java.lang.Object
-
- com.webcohesion.enunciate.javac.javadoc.JavaDocLink
-
public class JavaDocLink extends Object
Models the @link inline tag in javadoc.- See Also:
- @link documentation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()Returns the class name or an empty string if link is a within the current class (starts with `#`).StringgetLabel()Returns label specified in this tag ornullif omitted.StringgetMemberName()Returns the member name from the link or an empty string.booleanhasLabel()Answers if this link has an alternative label.static JavaDocLinkparse(String text)Parses the specified text as a link.StringtoString()
-
-
-
Method Detail
-
getClassName
public String getClassName()
Returns the class name or an empty string if link is a within the current class (starts with `#`).
-
getMemberName
public String getMemberName()
Returns the member name from the link or an empty string.
-
hasLabel
public boolean hasLabel()
Answers if this link has an alternative label.
-
getLabel
public String getLabel()
Returns label specified in this tag ornullif omitted.
-
parse
public static JavaDocLink parse(String text)
Parses the specified text as a link.
-
-