How to extend JavaDoc 5.0 standard doclet?

痞子三分冷 提交于 2019-12-23 08:39:12

问题


I want to extend the standard doclet provided by Javadoc5.0 to modify its HTML output. For example I want to replace the keyword 'implemented' or 'Interfaces' with another word whenever it occurs within the generated JavaDoc HTML. All other elements should not be changed. How can I achieve this? I do not want to modify the HTML source after the Javadoc is generated! Which Classes I have to extend? Is there a useful tutorial in the net? I searched for tutorials but found only this http://docs.oracle.com/javase/1.5.0/docs/guide/javadoc/doclet/overview.html which does not help me very much since the examples don't extend the standard doclet. Found another source on http://www.oracle.com/technetwork/java/javase/documentation/index-137483.html#customizingjavadoc but I cannot apply this to JavaDoc5.0. Can anybody provide a useful example? Thanks!


回答1:


Have you already see Doxygen? Doxygen

It could be a great alternative to javadoc and it is free and customizable. I think that it could help you. I hope to have helped you.



来源:https://stackoverflow.com/questions/20121382/how-to-extend-javadoc-5-0-standard-doclet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!