APIdia Launch Partner
Top Description Inners Fields Constructors Methods
jdk.javadoc.internal.doclets.toolkit

public abstract Class BaseOptions

extends Object
Class Inheritance
Known Direct Subclasses
jdk.javadoc.internal.doclets.formats.html.HtmlOptions
Imports
java.io.ByteArrayOutputStream, .IOException, .OutputStream, .OutputStreamWriter, .UnsupportedEncodingException, java.net.URI, .URISyntaxException, java.time.ZonedDateTime, java.time.format.DateTimeFormatter, .DateTimeParseException, java.util.ArrayList, .Arrays, .HashSet, .List, .Locale, .MissingResourceException, .Set, .TreeSet, jdk.javadoc.doclet.Doclet, .Reporter, jdk.javadoc.internal.doclets.toolkit.util.Utils

Storage for the format-independent options supported by the toolkit. The objects to handle command-line options, and to initialize this object, are all subtypes of BaseOptions.Option, returned by BaseOptions#getSupportedOptions().

Some of the methods used to access the values of options have names that begin with a verb, such as linkSource() or showVersion(). Unless otherwise stated, these methods should all be taken as just accessing the value of the associated option.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected abstract static class
public static enum
BaseOptions.ModularityMismatchPolicy

An enum of policies for handling modularity mismatches in external documentation.

protected abstract static class
protected abstract static class

Field Summary

Modifier and TypeField and Description
private boolean
allowScriptInComments

Argument for command-line option --allow-script-in-comments.

private final BaseConfiguration
private ZonedDateTime
date

Argument for command-line option --date.

public static final int
DEFAULT_TAB_STOP_LENGTH

The default amount of space between tab stops.

private String
destDirName

Argument for command-line option -d.

private boolean
disableJavaFxStrictChecks

Argument for command-line option --disable-javafx-strict-checks.

private String
docEncoding

Argument for command-line option -docencoding.

private String
docFileDestDirName

Argument for command-line option ???

private boolean
dumpOnError

Argument for hidden command-line option --dump-on-error.

private String
encoding

Argument for command-line option -encoding.

private Set<String>
excludedDocFileDirs

Argument for command-line option -excludedocfilessubdir.

private Set<String>
excludedQualifiers

Argument for command-line option -noqualifier.

private List<Utils.Pair<String, String>>
groupPairs

Arguments for command-line option -group

private boolean
javafx

Argument for command-line option --javafx or -javafx.

private boolean
keywords

Argument for command-line option -keywords.

private final List<String>
linkList

Arguments for command-line option -link.

private BaseOptions.ModularityMismatchPolicy
linkModularityMismatch

Argument for command-line option --link-modularity-mismatch.

private final List<Utils.Pair<String, String>>
linkOfflineList

Arguments for command-line option -linkoffline.

private String
linkPlatformProperties

Location of alternative platform link properties file.

private boolean
linkSource

Argument for command-line option -linksource.

private boolean
noComment

Argument for command-line option -nocomment.

private boolean
noDeprecated

Argument for command-line option -nodeprecated.

private boolean
noFonts

Argument for command-line option --no-fonts.

private boolean
noPlatformLinks

Argument for command-line option --no-platform-links.

private boolean
noSince

Argument for command-line option -nosince.

private boolean
noTimestamp

Argument for command-line option -notimestamp.

private String
previewFeatureTag

Argument for command-line option --preview-feature-tag.

private String
previewNoteTag

Argument for command-line option --preview-note-tag.

private boolean
quiet

Argument for command-line option -quiet.

private boolean
serialWarn

Argument for command-line option -serialwarn.

private boolean
showAuthor

Argument for command-line option -author.

private boolean
showVersion

Argument for command-line option -version.

private List<String>
since

Argument for command line option --since.

private String
sinceLabel

Argument for command line option --since-label.

private int
sourceTabSize

Argument for command-line option -sourcetab.

private URI
specBaseURI

Argument for command-line option --spec-base-url.

private boolean
summarizeOverriddenMethods

Value for command-line option --override-methods summary or --override-methods detail.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected static String

Returns:

String Properly constructed path string.
addTrailingFileSep
(String
Path under consideration.
path
)

Add a trailing file separator, if not found.

pack-priv boolean
allowScriptInComments()

Argument for command-line option --allow-script-in-comments.

private boolean
checkOutputFileEncoding(String
output file encoding.
docencoding
)

Check the validity of the given Source or Output File encoding on this platform.

public ZonedDateTime
date()

Argument for command-line option --date.

pack-priv String
destDirName()

Argument for command-line option -d.

pack-priv boolean
disableJavaFxStrictChecks()

Argument for command-line option --disable-javafx-strict-checks.

public String
docEncoding()

Argument for command-line option -docencoding.

pack-priv String
docFileDestDirName()

Argument for command-line option ???

pack-priv boolean
dumpOnError()

Argument for hidden command-line option --dump-on-error.

public String
encoding()

Argument for command-line option -encoding.

pack-priv Set<String>
excludedDocFileDirs()

Argument for command-line option -excludedocfilessubdir.

pack-priv Set<String>
excludedQualifiers()

Argument for command-line option -noqualifier.

protected boolean

Returns:

true if all the options are valid.
generalValidOptions
()

This checks for the validity of the options used by the user.

public Set<? extends BaseOptions.Option>
pack-priv List<Utils.Pair<String, String>>
groupPairs()

Arguments for command-line option -group

public boolean
javafx()

Argument for command-line option --javafx or -javafx.

public boolean
keywords()

Argument for command-line option -keywords.

public BaseOptions.ModularityMismatchPolicy
linkModularityMismatch()

Argument for command-line option --link-modularity-mismatch.

pack-priv List<Utils.Pair<String, String>>
linkOfflineList()

Arguments for command-line option -linkoffline.

pack-priv String
linkPlatformProperties()

Argument for command-line option --link-platform-properties.

public boolean
linkSource()

Argument for command-line option -linksource.

public boolean
noComment()

Argument for command-line option -nocomment.

public boolean
noDeprecated()

Argument for command-line option -nodeprecated.

public boolean
noFonts()

Argument for command-line option --no-fonts.

public boolean
noSince()

Argument for command-line option -nosince.

public boolean
noTimestamp()

Argument for command-line option -notimestamp.

public String
previewFeatureTag()

Argument for command-line option --preview-feature-tag.

public String
previewNoteTag()

Argument for command-line option --preview-note-tag.

pack-priv boolean
quiet()

Argument for command-line option -quiet.

public boolean
serialWarn()

Argument for command-line option -serialwarn.

public void
setDocEncoding(String docEncoding)

public void
setJavaFX(boolean javafx)

public boolean
showAuthor()

Argument for command-line option -author.

public boolean
showVersion()

Argument for command-line option -version.

public List<String>
since()

Arguments for command line option --since.

public String
sinceLabel()

Arguments for command line option --since-label.

public int
sourceTabSize()

Argument for command-line option -sourcetab.

public URI
specBaseURI()

Argument for command-line option --spec-base-url.

public boolean
summarizeOverriddenMethods()

Value for command-line option --override-methods summary or --override-methods detail.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allowScriptInCommentsback to summary
private boolean allowScriptInComments

Argument for command-line option --allow-script-in-comments. Allow JavaScript in doc comments.

configback to summary
private final BaseConfiguration config
dateback to summary
private ZonedDateTime date

Argument for command-line option --date. null if option not given.

DEFAULT_TAB_STOP_LENGTHback to summary
public static final int DEFAULT_TAB_STOP_LENGTH

The default amount of space between tab stops.

destDirNameback to summary
private String destDirName

Argument for command-line option -d. Destination directory name, in which doclet will generate the entire documentation. Default is current directory.

disableJavaFxStrictChecksback to summary
private boolean disableJavaFxStrictChecks

Argument for command-line option --disable-javafx-strict-checks. Primarily used to disable strict checks in the regression tests allowing those tests to be executed successfully, for instance, with OpenJDK builds which may not contain FX libraries.

docEncodingback to summary
private String docEncoding

Argument for command-line option -docencoding. Encoding for this document. Default is default encoding for this platform.

docFileDestDirNameback to summary
private String docFileDestDirName

Argument for command-line option ???. Destination directory name, in which doclet will copy the doc-files to.

dumpOnErrorback to summary
private boolean dumpOnError

Argument for hidden command-line option --dump-on-error.

encodingback to summary
private String encoding

Argument for command-line option -encoding. Encoding for this document. Default is default encoding for this platform.

excludedDocFileDirsback to summary
private Set<String> excludedDocFileDirs

Argument for command-line option -excludedocfilessubdir. The set of doc-file subdirectories to exclude.

excludedQualifiersback to summary
private Set<String> excludedQualifiers

Argument for command-line option -noqualifier. The set of qualifiers to exclude.

groupPairsback to summary
private List<Utils.Pair<String, String>> groupPairs

Arguments for command-line option -group

javafxback to summary
private boolean javafx

Argument for command-line option --javafx or -javafx. Generate documentation for JavaFX getters and setters automatically by copying it from the appropriate property definition.

keywordsback to summary
private boolean keywords

Argument for command-line option -keywords. True if user wants to add member names as meta keywords. Set to false because meta keywords are ignored in general by most Internet search engines.

linkModularityMismatchback to summary
private BaseOptions.ModularityMismatchPolicy linkModularityMismatch

Argument for command-line option --link-modularity-mismatch. Describes how to handle external documentation with non-matching modularity.

linkOfflineListback to summary
private final List<Utils.Pair<String, String>> linkOfflineList

Arguments for command-line option -linkoffline.

linkPlatformPropertiesback to summary
private String linkPlatformProperties

Location of alternative platform link properties file.

linkSourceback to summary
private boolean linkSource

Argument for command-line option -linksource. True if we should generate browsable sources.

noCommentback to summary
private boolean noComment

Argument for command-line option -nocomment. True if user wants to suppress descriptions and tags.

noDeprecatedback to summary
private boolean noDeprecated

Argument for command-line option -nodeprecated. Don't generate deprecated API information at all, if -nodeprecated option is used. nodeprecated is set to true if -nodeprecated option is used. Default is generate deprecated API information.

noFontsback to summary
private boolean noFonts

Argument for command-line option --no-fonts. True if command-line option --no-fonts is used and font files should not be included in generated documentation. Default value is false.

noSinceback to summary
private boolean noSince

Argument for command-line option -nosince. True if command-line option "-nosince" is used. Default value is false.

noTimestampback to summary
private boolean noTimestamp

Argument for command-line option -notimestamp. True if user wants to suppress time stamp in output. Default is false.

previewFeatureTagback to summary
private String previewFeatureTag

Argument for command-line option --preview-feature-tag. If set, the JavaDoc inline tag with the given name is used to add mark an API element as preview feature in non-JDK contexts.

previewNoteTagback to summary
private String previewNoteTag

Argument for command-line option --preview-note-tag. If set, the JavaDoc tag with the given name can be used to add preview-related notes to permanent APIs or override the default preview note for preview APIs.

quietback to summary
private boolean quiet

Argument for command-line option -quiet. Suppress all messages

serialWarnback to summary
private boolean serialWarn

Argument for command-line option -serialwarn. This is true if option "-serialwarn" is used. Default value is false to suppress excessive warnings about serial tag.

showAuthorback to summary
private boolean showAuthor

Argument for command-line option -author. Generate author specific information for all the classes if @author tag is used in the doc comment and if -author option is used. showauthor is set to true if -author option is used. Default is don't show author information.

showVersionback to summary
private boolean showVersion

Argument for command-line option -version. Generate version specific information for the all the classes if @version tag is used in the doc comment and if -version option is used. showVersion is set to true if -version option is used. Default is don't show version information.

sinceback to summary
private List<String> since

Argument for command line option --since. Specifies a list of release names for which to document API changes.

sinceLabelback to summary
private String sinceLabel

Argument for command line option --since-label. Specifies custom text to use as heading of New API page.

sourceTabSizeback to summary
private int sourceTabSize

Argument for command-line option -sourcetab. The specified amount of space between tab stops.

specBaseURIback to summary
private URI specBaseURI

Argument for command-line option --spec-base-url. The base URL for relative URLs in @spec tags.

summarizeOverriddenMethodsback to summary
private boolean summarizeOverriddenMethods

Value for command-line option --override-methods summary or --override-methods detail. Specifies whether those methods that override a supertype's method with no changes to the API contract should be summarized in the footnote section.

Constructor Detail

BaseOptionsback to summary
protected BaseOptions(BaseConfiguration config)

Method Detail

addTrailingFileSepback to summary
protected static String addTrailingFileSep(String path)

Add a trailing file separator, if not found. Remove superfluous file separators if any. Preserve the front double file separator for UNC paths.

Parameters
path:String

Path under consideration.

Returns:String

String Properly constructed path string.

allowScriptInCommentsback to summary
pack-priv boolean allowScriptInComments()

Argument for command-line option --allow-script-in-comments. Allow JavaScript in doc comments.

checkOutputFileEncodingback to summary
private boolean checkOutputFileEncoding(String docencoding)

Check the validity of the given Source or Output File encoding on this platform.

Parameters
docencoding:String

output file encoding.

dateback to summary
public ZonedDateTime date()

Argument for command-line option --date.

destDirNameback to summary
pack-priv String destDirName()

Argument for command-line option -d. Destination directory name, in which doclet will generate the entire documentation. Default is current directory.

disableJavaFxStrictChecksback to summary
pack-priv boolean disableJavaFxStrictChecks()

Argument for command-line option --disable-javafx-strict-checks. Primarily used to disable strict checks in the regression tests allowing those tests to be executed successfully, for instance, with OpenJDK builds which may not contain FX libraries.

docEncodingback to summary
public String docEncoding()

Argument for command-line option -docencoding. Encoding for this document. Default is default encoding for this platform.

docFileDestDirNameback to summary
pack-priv String docFileDestDirName()

Argument for command-line option ???. Destination directory name, in which doclet will copy the doc-files to.

dumpOnErrorback to summary
pack-priv boolean dumpOnError()

Argument for hidden command-line option --dump-on-error.

encodingback to summary
public String encoding()

Argument for command-line option -encoding. Encoding for this document. Default is default encoding for this platform.

excludedDocFileDirsback to summary
pack-priv Set<String> excludedDocFileDirs()

Argument for command-line option -excludedocfilessubdir. The set of doc-file subdirectories to exclude.

excludedQualifiersback to summary
pack-priv Set<String> excludedQualifiers()

Argument for command-line option -noqualifier. The set of qualifiers to exclude.

generalValidOptionsback to summary
protected boolean generalValidOptions()

This checks for the validity of the options used by the user. As of this writing, this checks only docencoding.

Returns:boolean

true if all the options are valid.

getSupportedOptionsback to summary
public Set<? extends BaseOptions.Option> getSupportedOptions()
groupPairsback to summary
pack-priv List<Utils.Pair<String, String>> groupPairs()

Arguments for command-line option -group

javafxback to summary
public boolean javafx()

Argument for command-line option --javafx or -javafx. Generate documentation for JavaFX getters and setters automatically by copying it from the appropriate property definition.

keywordsback to summary
public boolean keywords()

Argument for command-line option -keywords. True if user wants to add member names as meta keywords. Set to false because meta keywords are ignored in general by most Internet search engines.

linkModularityMismatchback to summary
public BaseOptions.ModularityMismatchPolicy linkModularityMismatch()

Argument for command-line option --link-modularity-mismatch. Describes how to handle external documentation with non-matching modularity.

linkOfflineListback to summary
pack-priv List<Utils.Pair<String, String>> linkOfflineList()

Arguments for command-line option -linkoffline.

linkPlatformPropertiesback to summary
pack-priv String linkPlatformProperties()

Argument for command-line option --link-platform-properties.

linkSourceback to summary
public boolean linkSource()

Argument for command-line option -linksource. True if we should generate browsable sources.

noCommentback to summary
public boolean noComment()

Argument for command-line option -nocomment. True if user wants to suppress descriptions and tags.

noDeprecatedback to summary
public boolean noDeprecated()

Argument for command-line option -nodeprecated. Don't generate deprecated API information at all if -nodeprecated option is used. noDeprecated is set to true if -nodeprecated option is used. Default is generate deprecated API information.

noFontsback to summary
public boolean noFonts()

Argument for command-line option --no-fonts. True if command-line option --no-fonts" is used. Default value is false.

noSinceback to summary
public boolean noSince()

Argument for command-line option -nosince. True if command-line option -nosince" is used. Default value is false.

noTimestampback to summary
public boolean noTimestamp()

Argument for command-line option -notimestamp. True if user wants to suppress time stamp in output. Default is false.

previewFeatureTagback to summary
public String previewFeatureTag()

Argument for command-line option --preview-feature-tag. Name of inline tag for marking APIs as preview feature.

previewNoteTagback to summary
public String previewNoteTag()

Argument for command-line option --preview-note-tag. Name of inline tag for preview notes on permanent APIs.

quietback to summary
pack-priv boolean quiet()

Argument for command-line option -quiet. Suppress all messages

serialWarnback to summary
public boolean serialWarn()

Argument for command-line option -serialwarn. This is true if option "-serialwarn" is used. Default value is false to suppress excessive warnings about serial tag.

setDocEncodingback to summary
public void setDocEncoding(String docEncoding)
setJavaFXback to summary
public void setJavaFX(boolean javafx)
showAuthorback to summary
public boolean showAuthor()

Argument for command-line option -author. Generate author specific information for all the classes if @author tag is used in the doc comment and if -author option is used. showauthor is set to true if -author option is used. Default is to not show author information.

showVersionback to summary
public boolean showVersion()

Argument for command-line option -version. Generate version specific information for the all the classes if @version tag is used in the doc comment and if -version option is used. showVersion is set to true if -version option is used. Default is don't show version information.

sinceback to summary
public List<String> since()

Arguments for command line option --since.

sinceLabelback to summary
public String sinceLabel()

Arguments for command line option --since-label.

sourceTabSizeback to summary
public int sourceTabSize()

Argument for command-line option -sourcetab. The specified amount of space between tab stops.

specBaseURIback to summary
public URI specBaseURI()

Argument for command-line option --spec-base-url. The base URL for relative URLs in @spec tags.

summarizeOverriddenMethodsback to summary
public boolean summarizeOverriddenMethods()

Value for command-line option --override-methods summary or --override-methods detail. Specifies whether those methods that override a supertype's method with no changes to the API contract should be summarized in the footnote section.

jdk.javadoc.internal.doclets.toolkit back to summary

protected abstract Class BaseOptions.Hidden

extends Option
Class Inheritance

Constructor Summary

AccessConstructor and Description
public
Hidden(Resources resources, String name, int argCount)

public
Hidden(Resources resources, String name)

Method Summary

Modifier and TypeMethod and Description
public Doclet.Option.Kind
Inherited from jdk.javadoc.internal.doclets.toolkit.BaseOptions.Option:
compareTogetArgumentCountgetDescriptiongetNamesgetParametersmatchestoString

Constructor Detail

Hiddenback to summary
public Hidden(Resources resources, String name, int argCount)
Hiddenback to summary
public Hidden(Resources resources, String name)

Method Detail

getKindback to summary
public Doclet.Option.Kind getKind()

Overrides jdk.javadoc.internal.doclets.toolkit.BaseOptions.Option.getKind.

Implements jdk.javadoc.doclet.Doclet.Option.getKind.

Doc from jdk.javadoc.doclet.Doclet.Option.getKind.

Returns the option kind.

Annotations
@Override
jdk.javadoc.internal.doclets.toolkit back to summary

public final Enum BaseOptions.ModularityMismatchPolicy

extends Enum<BaseOptions.ModularityMismatchPolicy>
Class Inheritance

An enum of policies for handling modularity mismatches in external documentation.

Field Summary

Modifier and TypeField and Description
public static final BaseOptions.ModularityMismatchPolicy
public static final BaseOptions.ModularityMismatchPolicy

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static BaseOptions.ModularityMismatchPolicy
public static BaseOptions.ModularityMismatchPolicy[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INFOback to summary
public static final BaseOptions.ModularityMismatchPolicy INFO
WARNback to summary
public static final BaseOptions.ModularityMismatchPolicy WARN

Constructor Detail

ModularityMismatchPolicyback to summary
private ModularityMismatchPolicy()

Method Detail

valueOfback to summary
public static BaseOptions.ModularityMismatchPolicy valueOf(String name)
valuesback to summary
public static BaseOptions.ModularityMismatchPolicy[] values()
jdk.javadoc.internal.doclets.toolkit back to summary

protected abstract Class BaseOptions.Option

extends Object
implements Option, Comparable<BaseOptions.Option>
Class Inheritance
All Implemented Interfaces
java.lang.Comparable, jdk.javadoc.doclet.Doclet.Option
Known Direct Subclasses
jdk.javadoc.internal.doclets.toolkit.BaseOptions.XOption, jdk.javadoc.internal.doclets.toolkit.BaseOptions.Hidden

Field Summary

Modifier and TypeField and Description
private final int
private final String
private final String[]
private final String

Constructor Summary

AccessConstructor and Description
protected
Option(Resources resources, String name, int argCount)

protected
Option(Resources resources, String keyBase, String name, int argCount)

protected
Option(Resources resources, String name)

Method Summary

Modifier and TypeMethod and Description
public int
compareTo(BaseOptions.Option that)

Implements java.lang.Comparable.compareTo.

Compares this object with the specified object for order.

public int
getArgumentCount()

Implements jdk.javadoc.doclet.Doclet.Option.getArgumentCount.

Returns the number of arguments, this option will consume.

public String
getDescription()

Implements jdk.javadoc.doclet.Doclet.Option.getDescription.

Returns the description of the option.

public Doclet.Option.Kind
getKind()

Implements jdk.javadoc.doclet.Doclet.Option.getKind.

Returns the option kind.

public List<String>
getNames()

Implements jdk.javadoc.doclet.Doclet.Option.getNames.

Returns the list of names that may be used to identify the option.

private String
public String
getParameters()

Implements jdk.javadoc.doclet.Doclet.Option.getParameters.

Returns the parameters of the option.

public boolean
matches(String option)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

argCountback to summary
private final int argCount
descriptionback to summary
private final String description
namesback to summary
private final String[] names
parametersback to summary
private final String parameters

Constructor Detail

Optionback to summary
protected Option(Resources resources, String name, int argCount)
Optionback to summary
protected Option(Resources resources, String keyBase, String name, int argCount)
Optionback to summary
protected Option(Resources resources, String name)

Method Detail

compareToback to summary
public int compareTo(BaseOptions.Option that)

Implements java.lang.Comparable.compareTo.

Doc from java.lang.Comparable.compareTo.

Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

The implementor must ensure signum(x.compareTo(y)) == -signum(y.compareTo(x)) for all x and y. (This implies that x.compareTo(y) must throw an exception if and only if y.compareTo(x) throws an exception.)

The implementor must also ensure that the relation is transitive: (x.compareTo(y) > 0 && y.compareTo(z) > 0) implies x.compareTo(z) > 0.

Finally, the implementor must ensure that x.compareTo(y)==0 implies that signum(x.compareTo(z)) == signum(y.compareTo(z)), for all z.

Annotations
@Override
getArgumentCountback to summary
public int getArgumentCount()

Implements jdk.javadoc.doclet.Doclet.Option.getArgumentCount.

Doc from jdk.javadoc.doclet.Doclet.Option.getArgumentCount.

Returns the number of arguments, this option will consume.

Annotations
@Override
getDescriptionback to summary
public String getDescription()

Implements jdk.javadoc.doclet.Doclet.Option.getDescription.

Doc from jdk.javadoc.doclet.Doclet.Option.getDescription.

Returns the description of the option. For instance, the option "group", would return the synopsis of the option such as, "groups the documents".

Annotations
@Override
getKindback to summary
public Doclet.Option.Kind getKind()

Implements jdk.javadoc.doclet.Doclet.Option.getKind.

Doc from jdk.javadoc.doclet.Doclet.Option.getKind.

Returns the option kind.

Annotations
@Override
getNamesback to summary
public List<String> getNames()

Implements jdk.javadoc.doclet.Doclet.Option.getNames.

Doc from jdk.javadoc.doclet.Doclet.Option.getNames.

Returns the list of names that may be used to identify the option. For instance, the list could be ["-classpath", "--class-path"] for the option "-classpath", with an alias "--class-path".

Annotations
@Override
getOptionsMessageback to summary
private String getOptionsMessage(Resources resources, String key)
getParametersback to summary
public String getParameters()

Implements jdk.javadoc.doclet.Doclet.Option.getParameters.

Doc from jdk.javadoc.doclet.Doclet.Option.getParameters.

Returns the parameters of the option. For instance "name <p1>:<p2>.."

Annotations
@Override
matchesback to summary
public boolean matches(String option)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
jdk.javadoc.internal.doclets.toolkit back to summary

protected abstract Class BaseOptions.XOption

extends Option
Class Inheritance

Constructor Summary

AccessConstructor and Description
public
XOption(Resources resources, String prefix, String name, int argCount)

public
XOption(Resources resources, String name, int argCount)

public
XOption(Resources resources, String name)

Method Summary

Modifier and TypeMethod and Description
public Doclet.Option.Kind
Inherited from jdk.javadoc.internal.doclets.toolkit.BaseOptions.Option:
compareTogetArgumentCountgetDescriptiongetNamesgetParametersmatchestoString

Constructor Detail

XOptionback to summary
public XOption(Resources resources, String prefix, String name, int argCount)
XOptionback to summary
public XOption(Resources resources, String name, int argCount)
XOptionback to summary
public XOption(Resources resources, String name)

Method Detail

getKindback to summary
public Doclet.Option.Kind getKind()

Overrides jdk.javadoc.internal.doclets.toolkit.BaseOptions.Option.getKind.

Implements jdk.javadoc.doclet.Doclet.Option.getKind.

Doc from jdk.javadoc.doclet.Doclet.Option.getKind.

Returns the option kind.

Annotations
@Override