You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RootDocMaker.java 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /* -*- Mode: JDE; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  2. *
  3. * This file is part of the debugger and core tools for the AspectJ(tm)
  4. * programming language; see http://aspectj.org
  5. *
  6. * The contents of this file are subject to the Mozilla Public License
  7. * Version 1.1 (the "License"); you may not use this file except in
  8. * compliance with the License. You may obtain a copy of the License at
  9. * either http://www.mozilla.org/MPL/ or http://aspectj.org/MPL/.
  10. *
  11. * Software distributed under the License is distributed on an "AS IS" basis,
  12. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13. * for the specific language governing rights and limitations under the
  14. * License.
  15. *
  16. * The Original Code is AspectJ.
  17. *
  18. * The Initial Developer of the Original Code is Xerox Corporation. Portions
  19. * created by Xerox Corporation are Copyright (C) 1999-2002 Xerox Corporation.
  20. * All Rights Reserved.
  21. */
  22. package org.aspectj.tools.ajdoc;
  23. import com.sun.javadoc.DocErrorReporter;
  24. import com.sun.javadoc.RootDoc;
  25. import java.util.List;
  26. /**
  27. * Interface specifying types that
  28. * can produce RootDocs.
  29. *
  30. * @author Jeff Palm
  31. */
  32. public interface RootDocMaker {
  33. /**
  34. * Returns a RootDoc using the passed in parameters.
  35. * Throw a CannotMakeRootDocException is something
  36. * goes awry.
  37. *
  38. * @param sourcepath sourcepath to use.
  39. * @param classpath classpath to use.
  40. * @param bootclasspath bootclasspath to use.
  41. * @param extdirs extdirs to use.
  42. * @param flags flags to use.
  43. * @param encoding encoding to use.
  44. * @param locale locale to use.
  45. * @param source source to use.
  46. * @param filenamesAndPackages filenamesAndPackages to use.
  47. * @param options options to use.
  48. * @param err ErrPrinter to use.
  49. * @param programName program name to use.
  50. * @param filter filter to use.
  51. * @return a RootDoc.
  52. */
  53. public RootDoc makeRootDoc(String sourcepath,
  54. String classpath,
  55. String bootclasspath,
  56. String extdirs,
  57. long flags,
  58. String encoding,
  59. String locale,
  60. String source,
  61. List filenamesAndPackages,
  62. List options,
  63. DocErrorReporter err,
  64. String programName,
  65. AccessChecker filter)
  66. throws CannotMakeRootDocException;
  67. }