Java API Reference Specialization missing Annotation Types
@robander 已经在做这个了。
开始于 2012年8月28日。
评估
这个 Issue 还没有评估数据。
描述
Converted from dita-ot/dita-ot#1119
The Java API Reference Specialization plugin from the DITA Open Toolkit does not support the new Java 5 language features of Annotation Types and Enums.
For a quick overview of annotation types, see:
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html
For a quick overview of enums, see:
http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html
For an example of the documentation that Sun's Javadoc doclet creates for a custom annotation type, look here:
http://edocs.bea.com/wls/docs92/javadocs/weblogic/jws/AsyncResponse.html
We also have a custom annotation type that happens to include an enum class. Just to be clear: enums can appear in other types of classes, but for convenience sake, I thought I'd show a single example that contains both of the new Java 5 features. So here's a custom annotation type that also uses an enum class:
http://edocs.bea.com/wls/docs92/javadocs/weblogic/jws/security/UserDataConstraint.html
I've attached the source code for the two examples.
Thanks for looking in to this. Unfortunately, I cannot use the Java API specialization until it supports these new features.
Let me know if I can help.
- 主要语言
- HTML
- 星标
- 22
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dita-ot/ext-plugins 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 42/100
dita-ot/ext-plugins#4 ·
-
难度 3/5 1-2 天 新手友好度 30/100
dita-ot/ext-plugins#3 · 2 条评论 ·
-
apiref uses old DITA-OT XSLT可能重新可做 @robander 于 5247 天前认领,目前没有进行中的 PR。 未关闭bug
dita-ot/ext-plugins#1 · 已指派 1 人 ·