Tue, 15 Jul 2008 19:22:51 -0700
6657907: javadoc has unchecked warnings
Reviewed-by: bpatel
duke@1 | 1 | /* |
duke@1 | 2 | * Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved. |
duke@1 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
duke@1 | 4 | * |
duke@1 | 5 | * This code is free software; you can redistribute it and/or modify it |
duke@1 | 6 | * under the terms of the GNU General Public License version 2 only, as |
duke@1 | 7 | * published by the Free Software Foundation. Sun designates this |
duke@1 | 8 | * particular file as subject to the "Classpath" exception as provided |
duke@1 | 9 | * by Sun in the LICENSE file that accompanied this code. |
duke@1 | 10 | * |
duke@1 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
duke@1 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
duke@1 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
duke@1 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
duke@1 | 15 | * accompanied this code). |
duke@1 | 16 | * |
duke@1 | 17 | * You should have received a copy of the GNU General Public License version |
duke@1 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
duke@1 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
duke@1 | 20 | * |
duke@1 | 21 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
duke@1 | 22 | * CA 95054 USA or visit www.sun.com if you need additional information or |
duke@1 | 23 | * have any questions. |
duke@1 | 24 | */ |
duke@1 | 25 | |
duke@1 | 26 | package com.sun.tools.doclets.formats.html; |
duke@1 | 27 | |
duke@1 | 28 | import com.sun.tools.doclets.internal.toolkit.*; |
duke@1 | 29 | import com.sun.tools.doclets.internal.toolkit.util.*; |
duke@1 | 30 | |
duke@1 | 31 | import com.sun.javadoc.*; |
duke@1 | 32 | import java.util.*; |
duke@1 | 33 | import java.io.*; |
duke@1 | 34 | |
duke@1 | 35 | /** |
duke@1 | 36 | * Configure the output based on the command line options. |
duke@1 | 37 | * <p> |
duke@1 | 38 | * Also determine the length of the command line option. For example, |
duke@1 | 39 | * for a option "-header" there will be a string argument associated, then the |
duke@1 | 40 | * the length of option "-header" is two. But for option "-nohelp" no argument |
duke@1 | 41 | * is needed so it's length is 1. |
duke@1 | 42 | * </p> |
duke@1 | 43 | * <p> |
duke@1 | 44 | * Also do the error checking on the options used. For example it is illegal to |
duke@1 | 45 | * use "-helpfile" option when already "-nohelp" option is used. |
duke@1 | 46 | * </p> |
duke@1 | 47 | * |
duke@1 | 48 | * @author Robert Field. |
duke@1 | 49 | * @author Atul Dambalkar. |
duke@1 | 50 | * @author Jamie Ho |
duke@1 | 51 | */ |
duke@1 | 52 | public class ConfigurationImpl extends Configuration { |
duke@1 | 53 | |
duke@1 | 54 | private static final ConfigurationImpl instance = new ConfigurationImpl(); |
duke@1 | 55 | |
duke@1 | 56 | /** |
duke@1 | 57 | * The build date. Note: For now, we will use |
duke@1 | 58 | * a version number instead of a date. |
duke@1 | 59 | */ |
duke@1 | 60 | public static final String BUILD_DATE = System.getProperty("java.version"); |
duke@1 | 61 | |
duke@1 | 62 | /** |
duke@1 | 63 | * The name of the constant values file. |
duke@1 | 64 | */ |
duke@1 | 65 | public static final String CONSTANTS_FILE_NAME = "constant-values.html"; |
duke@1 | 66 | |
duke@1 | 67 | /** |
duke@1 | 68 | * Argument for command line option "-header". |
duke@1 | 69 | */ |
duke@1 | 70 | public String header = ""; |
duke@1 | 71 | |
duke@1 | 72 | /** |
duke@1 | 73 | * Argument for command line option "-packagesheader". |
duke@1 | 74 | */ |
duke@1 | 75 | public String packagesheader = ""; |
duke@1 | 76 | |
duke@1 | 77 | /** |
duke@1 | 78 | * Argument for command line option "-footer". |
duke@1 | 79 | */ |
duke@1 | 80 | public String footer = ""; |
duke@1 | 81 | |
duke@1 | 82 | /** |
duke@1 | 83 | * Argument for command line option "-doctitle". |
duke@1 | 84 | */ |
duke@1 | 85 | public String doctitle = ""; |
duke@1 | 86 | |
duke@1 | 87 | /** |
duke@1 | 88 | * Argument for command line option "-windowtitle". |
duke@1 | 89 | */ |
duke@1 | 90 | public String windowtitle = ""; |
duke@1 | 91 | |
duke@1 | 92 | /** |
duke@1 | 93 | * Argument for command line option "-top". |
duke@1 | 94 | */ |
duke@1 | 95 | public String top = ""; |
duke@1 | 96 | |
duke@1 | 97 | /** |
duke@1 | 98 | * Argument for command line option "-bottom". |
duke@1 | 99 | */ |
duke@1 | 100 | public String bottom = ""; |
duke@1 | 101 | |
duke@1 | 102 | /** |
duke@1 | 103 | * Argument for command line option "-helpfile". |
duke@1 | 104 | */ |
duke@1 | 105 | public String helpfile = ""; |
duke@1 | 106 | |
duke@1 | 107 | /** |
duke@1 | 108 | * Argument for command line option "-stylesheetfile". |
duke@1 | 109 | */ |
duke@1 | 110 | public String stylesheetfile = ""; |
duke@1 | 111 | |
duke@1 | 112 | /** |
duke@1 | 113 | * True if command line option "-nohelp" is used. Default value is false. |
duke@1 | 114 | */ |
duke@1 | 115 | public boolean nohelp = false; |
duke@1 | 116 | |
duke@1 | 117 | /** |
duke@1 | 118 | * True if command line option "-splitindex" is used. Default value is |
duke@1 | 119 | * false. |
duke@1 | 120 | */ |
duke@1 | 121 | public boolean splitindex = false; |
duke@1 | 122 | |
duke@1 | 123 | /** |
duke@1 | 124 | * False if command line option "-noindex" is used. Default value is true. |
duke@1 | 125 | */ |
duke@1 | 126 | public boolean createindex = true; |
duke@1 | 127 | |
duke@1 | 128 | /** |
duke@1 | 129 | * True if command line option "-use" is used. Default value is false. |
duke@1 | 130 | */ |
duke@1 | 131 | public boolean classuse = false; |
duke@1 | 132 | |
duke@1 | 133 | /** |
duke@1 | 134 | * False if command line option "-notree" is used. Default value is true. |
duke@1 | 135 | */ |
duke@1 | 136 | public boolean createtree = true; |
duke@1 | 137 | |
duke@1 | 138 | /** |
duke@1 | 139 | * True if command line option "-nodeprecated" is used. Default value is |
duke@1 | 140 | * false. |
duke@1 | 141 | */ |
duke@1 | 142 | public boolean nodeprecatedlist = false; |
duke@1 | 143 | |
duke@1 | 144 | /** |
duke@1 | 145 | * True if command line option "-nonavbar" is used. Default value is false. |
duke@1 | 146 | */ |
duke@1 | 147 | public boolean nonavbar = false; |
duke@1 | 148 | |
duke@1 | 149 | /** |
duke@1 | 150 | * True if command line option "-nooverview" is used. Default value is |
duke@1 | 151 | * false |
duke@1 | 152 | */ |
duke@1 | 153 | private boolean nooverview = false; |
duke@1 | 154 | |
duke@1 | 155 | /** |
duke@1 | 156 | * True if command line option "-overview" is used. Default value is false. |
duke@1 | 157 | */ |
duke@1 | 158 | public boolean overview = false; |
duke@1 | 159 | |
duke@1 | 160 | /** |
duke@1 | 161 | * This is true if option "-overview" is used or option "-overview" is not |
duke@1 | 162 | * used and number of packages is more than one. |
duke@1 | 163 | */ |
duke@1 | 164 | public boolean createoverview = false; |
duke@1 | 165 | |
duke@1 | 166 | /** |
duke@1 | 167 | * Unique Resource Handler for this package. |
duke@1 | 168 | */ |
duke@1 | 169 | public final MessageRetriever standardmessage; |
duke@1 | 170 | |
duke@1 | 171 | /** |
duke@1 | 172 | * First file to appear in the right-hand frame in the generated |
duke@1 | 173 | * documentation. |
duke@1 | 174 | */ |
duke@1 | 175 | public String topFile = ""; |
duke@1 | 176 | |
duke@1 | 177 | /** |
duke@1 | 178 | * The classdoc for the class file getting generated. |
duke@1 | 179 | */ |
duke@1 | 180 | public ClassDoc currentcd = null; // Set this classdoc in the |
duke@1 | 181 | // ClassWriter. |
duke@1 | 182 | |
duke@1 | 183 | /** |
duke@1 | 184 | * Constructor. Initialises resource for the |
duke@1 | 185 | * {@link com.sun.tools.doclets.MessageRetriever}. |
duke@1 | 186 | */ |
duke@1 | 187 | private ConfigurationImpl() { |
duke@1 | 188 | standardmessage = new MessageRetriever(this, |
duke@1 | 189 | "com.sun.tools.doclets.formats.html.resources.standard"); |
duke@1 | 190 | } |
duke@1 | 191 | |
duke@1 | 192 | public static ConfigurationImpl getInstance() { |
duke@1 | 193 | return instance; |
duke@1 | 194 | } |
duke@1 | 195 | |
duke@1 | 196 | /** |
duke@1 | 197 | * Return the build date for the doclet. |
duke@1 | 198 | */ |
duke@1 | 199 | public String getDocletSpecificBuildDate() { |
duke@1 | 200 | return BUILD_DATE; |
duke@1 | 201 | } |
duke@1 | 202 | |
duke@1 | 203 | /** |
duke@1 | 204 | * Depending upon the command line options provided by the user, set |
duke@1 | 205 | * configure the output generation environment. |
duke@1 | 206 | * |
duke@1 | 207 | * @param options The array of option names and values. |
duke@1 | 208 | */ |
duke@1 | 209 | public void setSpecificDocletOptions(String[][] options) { |
duke@1 | 210 | for (int oi = 0; oi < options.length; ++oi) { |
duke@1 | 211 | String[] os = options[oi]; |
duke@1 | 212 | String opt = os[0].toLowerCase(); |
duke@1 | 213 | if (opt.equals("-footer")) { |
duke@1 | 214 | footer = os[1]; |
duke@1 | 215 | } else if (opt.equals("-header")) { |
duke@1 | 216 | header = os[1]; |
duke@1 | 217 | } else if (opt.equals("-packagesheader")) { |
duke@1 | 218 | packagesheader = os[1]; |
duke@1 | 219 | } else if (opt.equals("-doctitle")) { |
duke@1 | 220 | doctitle = os[1]; |
duke@1 | 221 | } else if (opt.equals("-windowtitle")) { |
duke@1 | 222 | windowtitle = os[1]; |
duke@1 | 223 | } else if (opt.equals("-top")) { |
duke@1 | 224 | top = os[1]; |
duke@1 | 225 | } else if (opt.equals("-bottom")) { |
duke@1 | 226 | bottom = os[1]; |
duke@1 | 227 | } else if (opt.equals("-helpfile")) { |
duke@1 | 228 | helpfile = os[1]; |
duke@1 | 229 | } else if (opt.equals("-stylesheetfile")) { |
duke@1 | 230 | stylesheetfile = os[1]; |
duke@1 | 231 | } else if (opt.equals("-charset")) { |
duke@1 | 232 | charset = os[1]; |
duke@1 | 233 | } else if (opt.equals("-nohelp")) { |
duke@1 | 234 | nohelp = true; |
duke@1 | 235 | } else if (opt.equals("-splitindex")) { |
duke@1 | 236 | splitindex = true; |
duke@1 | 237 | } else if (opt.equals("-noindex")) { |
duke@1 | 238 | createindex = false; |
duke@1 | 239 | } else if (opt.equals("-use")) { |
duke@1 | 240 | classuse = true; |
duke@1 | 241 | } else if (opt.equals("-notree")) { |
duke@1 | 242 | createtree = false; |
duke@1 | 243 | } else if (opt.equals("-nodeprecatedlist")) { |
duke@1 | 244 | nodeprecatedlist = true; |
duke@1 | 245 | } else if (opt.equals("-nosince")) { |
duke@1 | 246 | nosince = true; |
duke@1 | 247 | } else if (opt.equals("-nonavbar")) { |
duke@1 | 248 | nonavbar = true; |
duke@1 | 249 | } else if (opt.equals("-nooverview")) { |
duke@1 | 250 | nooverview = true; |
duke@1 | 251 | } else if (opt.equals("-overview")) { |
duke@1 | 252 | overview = true; |
duke@1 | 253 | } |
duke@1 | 254 | } |
duke@1 | 255 | if (root.specifiedClasses().length > 0) { |
jjg@74 | 256 | Map<String,PackageDoc> map = new HashMap<String,PackageDoc>(); |
duke@1 | 257 | PackageDoc pd; |
duke@1 | 258 | ClassDoc[] classes = root.classes(); |
duke@1 | 259 | for (int i = 0; i < classes.length; i++) { |
duke@1 | 260 | pd = classes[i].containingPackage(); |
duke@1 | 261 | if(! map.containsKey(pd.name())) { |
duke@1 | 262 | map.put(pd.name(), pd); |
duke@1 | 263 | } |
duke@1 | 264 | } |
duke@1 | 265 | } |
duke@1 | 266 | setCreateOverview(); |
duke@1 | 267 | setTopFile(root); |
duke@1 | 268 | } |
duke@1 | 269 | |
duke@1 | 270 | /** |
duke@1 | 271 | * Returns the "length" of a given option. If an option takes no |
duke@1 | 272 | * arguments, its length is one. If it takes one argument, it's |
duke@1 | 273 | * length is two, and so on. This method is called by JavaDoc to |
duke@1 | 274 | * parse the options it does not recognize. It then calls |
duke@1 | 275 | * {@link #validOptions(String[][], DocErrorReporter)} to |
duke@1 | 276 | * validate them. |
duke@1 | 277 | * <b>Note:</b><br> |
duke@1 | 278 | * The options arrive as case-sensitive strings. For options that |
duke@1 | 279 | * are not case-sensitive, use toLowerCase() on the option string |
duke@1 | 280 | * before comparing it. |
duke@1 | 281 | * </blockquote> |
duke@1 | 282 | * |
duke@1 | 283 | * @return number of arguments + 1 for a option. Zero return means |
duke@1 | 284 | * option not known. Negative value means error occurred. |
duke@1 | 285 | */ |
duke@1 | 286 | public int optionLength(String option) { |
duke@1 | 287 | int result = -1; |
duke@1 | 288 | if ((result = super.optionLength(option)) > 0) { |
duke@1 | 289 | return result; |
duke@1 | 290 | } |
duke@1 | 291 | // otherwise look for the options we have added |
duke@1 | 292 | option = option.toLowerCase(); |
duke@1 | 293 | if (option.equals("-nodeprecatedlist") || |
duke@1 | 294 | option.equals("-noindex") || |
duke@1 | 295 | option.equals("-notree") || |
duke@1 | 296 | option.equals("-nohelp") || |
duke@1 | 297 | option.equals("-splitindex") || |
duke@1 | 298 | option.equals("-serialwarn") || |
duke@1 | 299 | option.equals("-use") || |
duke@1 | 300 | option.equals("-nonavbar") || |
duke@1 | 301 | option.equals("-nooverview")) { |
duke@1 | 302 | return 1; |
duke@1 | 303 | } else if (option.equals("-help")) { |
duke@1 | 304 | System.out.println(getText("doclet.usage")); |
duke@1 | 305 | return 1; |
duke@1 | 306 | } else if (option.equals("-footer") || |
duke@1 | 307 | option.equals("-header") || |
duke@1 | 308 | option.equals("-packagesheader") || |
duke@1 | 309 | option.equals("-doctitle") || |
duke@1 | 310 | option.equals("-windowtitle") || |
duke@1 | 311 | option.equals("-top") || |
duke@1 | 312 | option.equals("-bottom") || |
duke@1 | 313 | option.equals("-helpfile") || |
duke@1 | 314 | option.equals("-stylesheetfile") || |
duke@1 | 315 | option.equals("-charset") || |
duke@1 | 316 | option.equals("-overview")) { |
duke@1 | 317 | return 2; |
duke@1 | 318 | } else { |
duke@1 | 319 | return 0; |
duke@1 | 320 | } |
duke@1 | 321 | } |
duke@1 | 322 | |
duke@1 | 323 | /** |
duke@1 | 324 | * {@inheritDoc} |
duke@1 | 325 | */ |
duke@1 | 326 | public boolean validOptions(String options[][], |
duke@1 | 327 | DocErrorReporter reporter) { |
duke@1 | 328 | boolean helpfile = false; |
duke@1 | 329 | boolean nohelp = false; |
duke@1 | 330 | boolean overview = false; |
duke@1 | 331 | boolean nooverview = false; |
duke@1 | 332 | boolean splitindex = false; |
duke@1 | 333 | boolean noindex = false; |
duke@1 | 334 | // check shared options |
duke@1 | 335 | if (!generalValidOptions(options, reporter)) { |
duke@1 | 336 | return false; |
duke@1 | 337 | } |
duke@1 | 338 | // otherwise look at our options |
duke@1 | 339 | for (int oi = 0; oi < options.length; ++oi) { |
duke@1 | 340 | String[] os = options[oi]; |
duke@1 | 341 | String opt = os[0].toLowerCase(); |
duke@1 | 342 | if (opt.equals("-helpfile")) { |
duke@1 | 343 | if (nohelp == true) { |
duke@1 | 344 | reporter.printError(getText("doclet.Option_conflict", |
duke@1 | 345 | "-helpfile", "-nohelp")); |
duke@1 | 346 | return false; |
duke@1 | 347 | } |
duke@1 | 348 | if (helpfile == true) { |
duke@1 | 349 | reporter.printError(getText("doclet.Option_reuse", |
duke@1 | 350 | "-helpfile")); |
duke@1 | 351 | return false; |
duke@1 | 352 | } |
duke@1 | 353 | File help = new File(os[1]); |
duke@1 | 354 | if (!help.exists()) { |
duke@1 | 355 | reporter.printError(getText("doclet.File_not_found", os[1])); |
duke@1 | 356 | return false; |
duke@1 | 357 | } |
duke@1 | 358 | helpfile = true; |
duke@1 | 359 | } else if (opt.equals("-nohelp")) { |
duke@1 | 360 | if (helpfile == true) { |
duke@1 | 361 | reporter.printError(getText("doclet.Option_conflict", |
duke@1 | 362 | "-nohelp", "-helpfile")); |
duke@1 | 363 | return false; |
duke@1 | 364 | } |
duke@1 | 365 | nohelp = true; |
duke@1 | 366 | } else if (opt.equals("-overview")) { |
duke@1 | 367 | if (nooverview == true) { |
duke@1 | 368 | reporter.printError(getText("doclet.Option_conflict", |
duke@1 | 369 | "-overview", "-nooverview")); |
duke@1 | 370 | return false; |
duke@1 | 371 | } |
duke@1 | 372 | if (overview == true) { |
duke@1 | 373 | reporter.printError(getText("doclet.Option_reuse", |
duke@1 | 374 | "-overview")); |
duke@1 | 375 | return false; |
duke@1 | 376 | } |
duke@1 | 377 | overview = true; |
duke@1 | 378 | } else if (opt.equals("-nooverview")) { |
duke@1 | 379 | if (overview == true) { |
duke@1 | 380 | reporter.printError(getText("doclet.Option_conflict", |
duke@1 | 381 | "-nooverview", "-overview")); |
duke@1 | 382 | return false; |
duke@1 | 383 | } |
duke@1 | 384 | nooverview = true; |
duke@1 | 385 | } else if (opt.equals("-splitindex")) { |
duke@1 | 386 | if (noindex == true) { |
duke@1 | 387 | reporter.printError(getText("doclet.Option_conflict", |
duke@1 | 388 | "-splitindex", "-noindex")); |
duke@1 | 389 | return false; |
duke@1 | 390 | } |
duke@1 | 391 | splitindex = true; |
duke@1 | 392 | } else if (opt.equals("-noindex")) { |
duke@1 | 393 | if (splitindex == true) { |
duke@1 | 394 | reporter.printError(getText("doclet.Option_conflict", |
duke@1 | 395 | "-noindex", "-splitindex")); |
duke@1 | 396 | return false; |
duke@1 | 397 | } |
duke@1 | 398 | noindex = true; |
duke@1 | 399 | } |
duke@1 | 400 | } |
duke@1 | 401 | return true; |
duke@1 | 402 | } |
duke@1 | 403 | |
duke@1 | 404 | /** |
duke@1 | 405 | * {@inheritDoc} |
duke@1 | 406 | */ |
duke@1 | 407 | public MessageRetriever getDocletSpecificMsg() { |
duke@1 | 408 | return standardmessage; |
duke@1 | 409 | } |
duke@1 | 410 | |
duke@1 | 411 | /** |
duke@1 | 412 | * Decide the page which will appear first in the right-hand frame. It will |
duke@1 | 413 | * be "overview-summary.html" if "-overview" option is used or no |
duke@1 | 414 | * "-overview" but the number of packages is more than one. It will be |
duke@1 | 415 | * "package-summary.html" of the respective package if there is only one |
duke@1 | 416 | * package to document. It will be a class page(first in the sorted order), |
duke@1 | 417 | * if only classes are provided on the command line. |
duke@1 | 418 | * |
duke@1 | 419 | * @param root Root of the program structure. |
duke@1 | 420 | */ |
duke@1 | 421 | protected void setTopFile(RootDoc root) { |
duke@1 | 422 | if (!checkForDeprecation(root)) { |
duke@1 | 423 | return; |
duke@1 | 424 | } |
duke@1 | 425 | if (createoverview) { |
duke@1 | 426 | topFile = "overview-summary.html"; |
duke@1 | 427 | } else { |
duke@1 | 428 | if (packages.length == 1 && packages[0].name().equals("")) { |
duke@1 | 429 | if (root.classes().length > 0) { |
duke@1 | 430 | ClassDoc[] classarr = root.classes(); |
duke@1 | 431 | Arrays.sort(classarr); |
duke@1 | 432 | ClassDoc cd = getValidClass(classarr); |
duke@1 | 433 | topFile = DirectoryManager.getPathToClass(cd); |
duke@1 | 434 | } |
duke@1 | 435 | } else { |
duke@1 | 436 | topFile = DirectoryManager.getPathToPackage(packages[0], |
duke@1 | 437 | "package-summary.html"); |
duke@1 | 438 | } |
duke@1 | 439 | } |
duke@1 | 440 | } |
duke@1 | 441 | |
duke@1 | 442 | protected ClassDoc getValidClass(ClassDoc[] classarr) { |
duke@1 | 443 | if (!nodeprecated) { |
duke@1 | 444 | return classarr[0]; |
duke@1 | 445 | } |
duke@1 | 446 | for (int i = 0; i < classarr.length; i++) { |
duke@1 | 447 | if (classarr[i].tags("deprecated").length == 0) { |
duke@1 | 448 | return classarr[i]; |
duke@1 | 449 | } |
duke@1 | 450 | } |
duke@1 | 451 | return null; |
duke@1 | 452 | } |
duke@1 | 453 | |
duke@1 | 454 | protected boolean checkForDeprecation(RootDoc root) { |
duke@1 | 455 | ClassDoc[] classarr = root.classes(); |
duke@1 | 456 | for (int i = 0; i < classarr.length; i++) { |
duke@1 | 457 | if (isGeneratedDoc(classarr[i])) { |
duke@1 | 458 | return true; |
duke@1 | 459 | } |
duke@1 | 460 | } |
duke@1 | 461 | return false; |
duke@1 | 462 | } |
duke@1 | 463 | |
duke@1 | 464 | /** |
duke@1 | 465 | * Generate "overview.html" page if option "-overview" is used or number of |
duke@1 | 466 | * packages is more than one. Sets {@link #createoverview} field to true. |
duke@1 | 467 | */ |
duke@1 | 468 | protected void setCreateOverview() { |
duke@1 | 469 | if ((overview || packages.length > 1) && !nooverview) { |
duke@1 | 470 | createoverview = true; |
duke@1 | 471 | } |
duke@1 | 472 | } |
duke@1 | 473 | |
duke@1 | 474 | /** |
duke@1 | 475 | * {@inheritDoc} |
duke@1 | 476 | */ |
duke@1 | 477 | public WriterFactory getWriterFactory() { |
duke@1 | 478 | return WriterFactoryImpl.getInstance(); |
duke@1 | 479 | } |
duke@1 | 480 | |
duke@1 | 481 | /** |
duke@1 | 482 | * {@inheritDoc} |
duke@1 | 483 | */ |
jjg@74 | 484 | public Comparator<ProgramElementDoc> getMemberComparator() { |
duke@1 | 485 | return null; |
duke@1 | 486 | } |
duke@1 | 487 | } |