Class JavadocInlineTag
- java.lang.Object
-
- com.github.javaparser.javadoc.description.JavadocInlineTag
-
- All Implemented Interfaces:
JavadocDescriptionElement
public class JavadocInlineTag extends Object implements JavadocDescriptionElement
An inline tag contained in a Javadoc description.For example
String
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavadocInlineTag.Type
The type of tag: it could either correspond to a known tag (code, docRoot, etc.) or represent an unknown tag.
-
Constructor Summary
Constructors Constructor Description JavadocInlineTag(String tagName, JavadocInlineTag.Type type, String content)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static JavadocDescriptionElement
fromText(String text)
String
getContent()
String
getName()
JavadocInlineTag.Type
getType()
int
hashCode()
String
toString()
String
toText()
-
-
-
Constructor Detail
-
JavadocInlineTag
public JavadocInlineTag(String tagName, JavadocInlineTag.Type type, String content)
-
-
Method Detail
-
fromText
public static JavadocDescriptionElement fromText(String text)
-
getType
public JavadocInlineTag.Type getType()
-
getContent
public String getContent()
-
getName
public String getName()
-
toText
public String toText()
- Specified by:
toText
in interfaceJavadocDescriptionElement
-
-