【发布时间】:2014-03-22 13:27:32
【问题描述】:
我正在使用 JavaDoc 描述一些类,分为两步简短描述和该描述的开发版本:
/*
*
* This class will be used to do things.
* <p>
* Here I am expanding the short description ...
* </p>
* ...
*/
Class myClass
{
...
...
...
}
我想知道是否可以在详细描述中包含列表和枚举,所以结果应该是这样的:
/*
*
* This class will be used to do things.
* <p>
* Here I am expanding the short description ...
* * List element 1
* * List element 2
* </p>
* ...
*/
Class myClass
{
...
...
...
}
但在 JavaDoc 的 HTML 输出中生成枚举和/或列表。
我是否应该在 JavaDoc cmets 中使用 HTML 元素,例如 <ul> 和 <ol>?
【问题讨论】:
标签: java documentation javadoc