Package org.pjdbc.doclet
Class CapabilityDoclet
java.lang.Object
org.pjdbc.doclet.CapabilityDoclet
- All Implemented Interfaces:
Doclet
Custom Doclet that enhances JavaDocs with driver capability documentation
generated from @DriverCapability and @DriverParameter annotations.
This Doclet delegates to the StandardDoclet for normal processing, then post-processes the generated HTML to inject parameter tables for driver classes.
Usage in pom.xml:
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<doclet>org.pjdbc.doclet.CapabilityDoclet</doclet>
<docletArtifact>
<groupId>org.pjdbc</groupId>
<artifactId>pjdbc</artifactId>
<version>${project.version}</version>
</docletArtifact>
</configuration>
</plugin>
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.javadoc.doclet.Doclet
Doclet.Option -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Set<? extends Doclet.Option> voidbooleanrun(DocletEnvironment docEnv)
-
Constructor Details
-
CapabilityDoclet
public CapabilityDoclet()
-
-
Method Details
-
init
-
getName
-
getSupportedOptions
- Specified by:
getSupportedOptionsin interfaceDoclet
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceDoclet
-
run
-