public class JavaDocData extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NO_COMMENT
Substitution value for when no JavaDoc comment text was found within a JavaDoc comment block.
|
Constructor and Description |
---|
JavaDocData(String comment,
List<com.thoughtworks.qdox.model.DocletTag> tags)
Creates a JavaDocData for a particular entry with the supplied JavaDoc comment and List of DocletTags.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Retrieves the comment/text in the JavaDoc structure, minus the names and values of any given JavaDoc tags.
|
SortedMap<String,String> |
getTag2ValueMap()
Retrieves the names and values of all JavaDoc tags found.
|
String |
toString() |
public static final String NO_COMMENT
public JavaDocData(String comment, List<com.thoughtworks.qdox.model.DocletTag> tags)
comment
- The actual comment in the JavaDoc. Null values are replaced with the value NO_COMMENT
,
to ensure that the getComment()
method does not return null values.tags
- The DocletTags of the JavaDoc entry. Can be null or empty.public String getComment()
NO_COMMENT
if no JavaDoc was provided.
Never returns a null
value.public SortedMap<String,String> getTag2ValueMap()
@author
tags, the
value contains all foundCopyright © 2005–2015 MojoHaus. All rights reserved.