/[classpath]/gjdoc/src/gnu/classpath/tools/doclets/AbstractDoclet.java
ViewVC logotype

Diff of /gjdoc/src/gnu/classpath/tools/doclets/AbstractDoclet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by julian, Fri Dec 10 18:20:52 2004 UTC revision 1.6 by julian, Mon Dec 13 19:05:30 2004 UTC
# Line 212  public abstract class AbstractDoclet Line 212  public abstract class AbstractDoclet
212     private DocletOptionGroup optionGroup =     private DocletOptionGroup optionGroup =
213       new DocletOptionGroup("-group");       new DocletOptionGroup("-group");
214    
215       private DocletOptionPackageWildcard optionNoQualifier =
216         new DocletOptionPackageWildcard("-noqualifier", true);
217    
218     private DocletOptionFlag optionDocFilesSubDirs =     private DocletOptionFlag optionDocFilesSubDirs =
219       new DocletOptionFlag("-docfilessubdirs");       new DocletOptionFlag("-docfilessubdirs");
220    
# Line 341  public abstract class AbstractDoclet Line 344  public abstract class AbstractDoclet
344        }        }
345     }     }
346    
347    
348     private class DocletOptionTagletPath     private class DocletOptionTagletPath
349        extends DocletOption        extends DocletOption
350     {     {
# Line 891  public abstract class AbstractDoclet Line 895  public abstract class AbstractDoclet
895           IOToolkit.copyDirectory(sourceDocFiles,           IOToolkit.copyDirectory(sourceDocFiles,
896                                   targetDocFiles,                                   targetDocFiles,
897                                   optionDocFilesSubDirs.getValue(),                                   optionDocFilesSubDirs.getValue(),
898                                   optionExcludeDocFilesSubDir.getSubdirs());                                   optionExcludeDocFilesSubDir.getComponents());
899        }        }
900     }     }
901    
# Line 1016  public abstract class AbstractDoclet Line 1020  public abstract class AbstractDoclet
1020        }        }
1021        return this.allPackages;        return this.allPackages;
1022     }     }
1023    
1024       protected boolean omitPackageQualifier(PackageDoc packageDoc)
1025       {
1026          if (null == optionNoQualifier) {
1027             return false;
1028          }
1029          else {
1030             return optionNoQualifier.match(packageDoc);
1031          }
1032       }
1033    
1034       protected String possiblyQualifiedName(Type type)
1035       {
1036          if (null == type.asClassDoc()
1037              || !omitPackageQualifier(type.asClassDoc().containingPackage())) {
1038             return type.qualifiedTypeName();
1039          }
1040          else {
1041             return type.typeName();
1042          }
1043       }
1044  }  }
1045    
1046    
1047  /** missing:  /** missing:
1048    
1049              + " -title <text>            Title for this set of API documentation (deprecated, -doctitle should be used instead).\n"              + " -title <text>            Title for this set of API documentation (deprecated, -doctitle should be used instead).\n"
             + " -link <extdoc URL>       Link to external javadoc-generated documentation you want to link to\n"  
             + " -linkoffline <extdoc URL> <packagelistLoc>  Link to external javadoc-generated documentation for the specified package-list\n"  
             + " -noqualifier all|<packagename1:packagename2:...> Do not qualify package name from ahead of class names\n"  
1050              + " -nocomment               Suppress the entire comment body including the main description and all tags, only generate the declarations\n"              + " -nocomment               Suppress the entire comment body including the main description and all tags, only generate the declarations\n"
1051    
1052  */  */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26