This library defines a Doclet for use with the Javadoc tool in order to export Java documentation as XML. This version requires at least JDK11.
javadoc -doclet org.pageseeder.xmldoclet.XMLDoclet \
-docletpath build/classes/java/main:build/classes/java/test \
-taglet org.pageseeder.xmldoclet.tags.ErrorIdTaglet \
-taglet org.pageseeder.xmldoclet.tags.GlossaryTaglet \
-sourcepath src/test/java \
-multiple \
-d build/testdoc \
org.example
Or simply
javadoc @example/options
- The
kind
attribute for type elements based onTypeElement#getKind()
- The
nesting-kind
attribute for nested classe based onTypeElement#getNestingKind()
- The
default
attribute for methods (only specified whentrue
)
- The
superclass
attribute now contains the fully qualified classname. - The
superclassfulltype
attribute is no longer included - Boolean attributes (
final
,abstract
,serializable
,interface
,enum
) are only specified whentrue
- The
synthetic
attribute is no longer supported - Nested classes are no longer including within the nesting class
- Attributes
interface
andenum
have been removed, use thekind
attribute instead.
- Does not include nested classes
- See nodes are not computed correctly
- Line numbers are no longer included