Java Code Examples for com.sun.tools.doclets.standard.Standard#validOptions()

The following examples show how to use com.sun.tools.doclets.standard.Standard#validOptions() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: IncludePublicAnnotationsStandardDoclet.java    From hadoop with Apache License 2.0 4 votes vote down vote up
public static boolean validOptions(String[][] options,
    DocErrorReporter reporter) {
  StabilityOptions.validOptions(options, reporter);
  String[][] filteredOptions = StabilityOptions.filterOptions(options);
  return Standard.validOptions(filteredOptions, reporter);
}
 
Example 2
Source File: ExcludePrivateAnnotationsStandardDoclet.java    From hadoop with Apache License 2.0 4 votes vote down vote up
public static boolean validOptions(String[][] options,
    DocErrorReporter reporter) {
  StabilityOptions.validOptions(options, reporter);
  String[][] filteredOptions = StabilityOptions.filterOptions(options);
  return Standard.validOptions(filteredOptions, reporter);
}
 
Example 3
Source File: IncludePublicAnnotationsStandardDoclet.java    From big-c with Apache License 2.0 4 votes vote down vote up
public static boolean validOptions(String[][] options,
    DocErrorReporter reporter) {
  StabilityOptions.validOptions(options, reporter);
  String[][] filteredOptions = StabilityOptions.filterOptions(options);
  return Standard.validOptions(filteredOptions, reporter);
}
 
Example 4
Source File: ExcludePrivateAnnotationsStandardDoclet.java    From big-c with Apache License 2.0 4 votes vote down vote up
public static boolean validOptions(String[][] options,
    DocErrorReporter reporter) {
  StabilityOptions.validOptions(options, reporter);
  String[][] filteredOptions = StabilityOptions.filterOptions(options);
  return Standard.validOptions(filteredOptions, reporter);
}
 
Example 5
Source File: JavadocFilter.java    From pom-manipulation-ext with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings( "unused" )
public static boolean validOptions( String[][] options, DocErrorReporter reporter)
{
    return Standard.validOptions(options, reporter);
}
 
Example 6
Source File: Options.java    From markdown-doclet with GNU General Public License v3.0 3 votes vote down vote up
/**
 * As specified by the Doclet specification.
 *
 * @param options          The command line options.
 * @param errorReporter    An error reporter to print messages.
 *
 * @return `true` if the options are valid.
 *
 * @see com.sun.javadoc.Doclet#validOptions(String[][], com.sun.javadoc.DocErrorReporter)
 */
public static boolean validOptions(String[][] options, DocErrorReporter errorReporter) {
    options = new Options().load(options, errorReporter);
    if ( options != null ) {
        return Standard.validOptions(options, errorReporter);
    }
    else {
        return false;
    }
}