langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/MetaKeywords.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
30 import javax.lang.model.element.Element; |
30 import javax.lang.model.element.Element; |
31 import javax.lang.model.element.ModuleElement; |
31 import javax.lang.model.element.ModuleElement; |
32 import javax.lang.model.element.PackageElement; |
32 import javax.lang.model.element.PackageElement; |
33 import javax.lang.model.element.TypeElement; |
33 import javax.lang.model.element.TypeElement; |
34 |
34 |
35 import jdk.javadoc.internal.doclets.toolkit.Configuration; |
35 import jdk.javadoc.internal.doclets.toolkit.BaseConfiguration; |
36 |
36 |
37 /** |
37 /** |
38 * Provides methods for creating an array of class, method and |
38 * Provides methods for creating an array of class, method and |
39 * field names to be included as meta keywords in the HTML header |
39 * field names to be included as meta keywords in the HTML header |
40 * of class pages. These keywords improve search results |
40 * of class pages. These keywords improve search results |
50 public class MetaKeywords { |
50 public class MetaKeywords { |
51 |
51 |
52 /** |
52 /** |
53 * The global configuration information for this run. |
53 * The global configuration information for this run. |
54 */ |
54 */ |
55 private final Configuration config; |
55 private final BaseConfiguration config; |
56 |
56 |
57 /** |
57 /** |
58 * Constructor |
58 * Constructor |
59 */ |
59 */ |
60 public MetaKeywords(Configuration configuration) { |
60 public MetaKeywords(BaseConfiguration configuration) { |
61 config = configuration; |
61 config = configuration; |
62 } |
62 } |
63 |
63 |
64 /** |
64 /** |
65 * Returns an array of strings where each element |
65 * Returns an array of strings where each element |