Table of Contents
dbdoclet provides a set of command-line options and a properties file. The command-line options overide the settings in the properties file. The command-line options are using the same names as the standard doclet to avoid major changes in existing scripts.
On Unix/Linux you can use the script dbdoclet as shortcut to start
javadoc with the correct -doclet and
-docletpath options.
The following list contains the javadoc options, which have a special behaviour in dbdoclet or a corresponding property name. For all other options consult the Javadoc documentation.
Specifies the overview file. The contents of this file is used as the first chapter in the resulting document. Any h1 tag found in the overview file opens a new chapter. The title of the first chapter can be specified with the option
-doctitle, the default value is Overview.Specifying a locale causes dbdoclet to use localized resources for all generated strings.
- Property:
encoding.source Specifies the encoding of the source files, such as ISO-8859-1.
dbdoclet tries to use the same names as the standard doclet where possible. This is done to avoid major changes in existing scripts.
- Property:
doclet.destination.directory Specifies the destination directory where dbdoclet saves the generated DocBook file and the images.
Not yet implemented.
- Property:
doclet.version Include the @version tag in the generated DocBook code.
- Property:
doclet.author Include the @author tag in the generated DocBook code.
- Property:
docbook.book.title Specifies the title of the book.
- Property:
docbook.chapter.overview.title Specifies the title of the overview chapter.
- Property:
doclet.nodeprecated Not yet supported.
- Property:
doclet.noindex Don't generate an index.
- Property:
doclet.nosince Don't include @since tags.
- Property:
doclet.notree Don't include the inheritance path section.
- Property:
encoding.destination Specifies the encoding of the generated DocBook XML files. Example: -docencoding ISO-8859-1
- Property:
docbook.abstract Specifies the abstract for the generated document. If no abstract is defined, the first sentence of the overview file is used as abstract. If there is no overview file, no abstract is created.
- Property:
docbook.author.email Specifies the email address of the author. The options -authorfirstname and -authorsurname must be set, otherwise this option will be ignored.
- Property:
docbook.author.firstname Specifies the firstname of the author. The option -authorsurname must be set, otherwise this option will be ignored.
- Property:
docbook.author.surname Specifies the surname of the author. The option -authorfirstname must be set, otherwise this option will be ignored.
- Property:
doclet.book.type Specifies the type of the book. The type "book" contains chapter elements, while the type "reference" contains refentry elements.
- Property:
docbook.code.width Specifies the width of program listings. The default is 75.
- Property:
docbook.copyright.holder Specifies the holder of the copyright.
- Property:
docbook.copyright.year Specifies the copyright year(s). The option -copyrightholder must be set for this option to become active.
- Property:
docbook.corporation Specifies the corporation name.
- Property:
program.dot.qualified-names Use qualified names in dot diagrams.
- Property:
docbook.emphasis.role Specifies the role for the emphasis tag. The default is "bold".
- Property:
doclet.destination.file Specifies the file name of the resulting document. If the file name contains a path, it is appended to destination directory. The default name for the file name is Reference.xml.
- Property:
docbook.id.style This option controls the generation of reference ids. If set to "numbered", the ids start with a type string followed by a number. The number is generated by a counter. This is the default behaviour. If set to "java" the id's are created in a predictable way. This makes it possible to reference certain elements in the generated docbook source from other parts of the document. The id values start with a type string. The used type strings are
PACKAGE-,CLASS-,CONSTRUCTOR-,METHOD-andFIELD-. The next part of the identifier is the full qualified name of the java element, which is referenced. Because of limitations due to the id attribute, certain characters are substituted: "(", ")","[","]","_" and "," are replaced by "-" and " " is replaced by "". I think the best thing to do, is to have a look at the generated SGML code. Perhaps somebody can explain this feature in correct english and sent the result to me.- Property:
docbook.imagedata.formats Specifies a comma separated list of the formats, that will be used when creating imagedata tags. The default is "svg".
- Property:
doclet.imagepath The path where images are stored. The default is "figures".
- Property:
docbook.include This option make it possible to write the introduction of the resulting book in DocBook itself. You can define a comma separated list of files, which are included as entities or via xinclude at the top, directly after the bookinfo tag.
- Property:
doclet.noexception Don't include @exception and @throws tags.
- Property:
doclet.nofields Don't include the fields section.
- Property:
doclet.noinheritedfrom Don't include the "Methods inherited from" sections.
- Property:
doclet.nometa Only include @param, @return, @serialField and @throws tags. This option overrides the options -author and -version.
- Property:
doclet.nomethods Don't include the methods section.
- Property:
doclet.noparam Don't include @param tags.
- Property:
doclet.noprolog Don't include a XML prolog. The XML file will start directly with the root tag.
- Property:
doclet.nosee Don't include @see tags.
- Property:
doclet.noserialField Don't include @serialField tags.
- Property:
doclet.nostatistics Set this argument to true, if you don't want to include the statistics appendix.
- Property:
doclet.nosynopsis Don't include synopsis sections.
- Property:
doclet.notable Don't generate any DocBook tables. Any HTML tables found are ignored and the contents of the table cells is added as paragraphs in the order they are found.
- Property:
doclet.noxreflabel Don't generate xreflabel attributes.
- Property:
doclet.part If this flag is set, a part document is generated instead of a book document. You can insert this part as a reference part in a superior document.
- Property:
doclet.split-output If this flag is set, the output is splitted and the doclet generates a modularized version of the documentation. A single XML file is generated for every class in the
modulesdirectory. These files are referenced via xinclude from the main fileReference.xml.Specifies the path and file name of a dbdoclet properties file.
- Property:
docbook.table.frame Defines the DocBook table style for the tables generated by dbdoclet. Should be one of all, bottom, none, sides, top, topbot. The default is set to "all".
- Property:
doclet.use-appendix If this flag is set an appendices are created instead of chapters for sections like "statistics" and "constant field values".


