Klasse MetaKeywords
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.util.MetaKeywords
Provides methods for creating an array of class, method and
field names to be included as meta keywords in the HTML header
of class pages.
These keywords improve search results on browsers that look for keywords.
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetClassKeyword
(TypeElement typeElement) Get the current class for a meta tag keyword, as a singleton list.getMemberKeywords
(List<? extends Element> members) Get members for meta tag keywords as an array, where each member name is a string element of the array.getMetaKeywords
(PackageElement packageElement) Get the package keywords.getMetaKeywords
(TypeElement typeElement) Returns an array of strings where each element is a class, method or field name.Get the module keywords.getOverviewMetaKeywords
(String title, String docTitle) Get the overview keywords.
-
Konstruktordetails
-
MetaKeywords
Constructor
-
-
Methodendetails
-
getMetaKeywords
Returns an array of strings where each element is a class, method or field name.This array is used to create one meta keyword tag for each element. Method parameter lists are converted to “()” and overloads are combined.
Constructors are not included because they have the same name as the class, which is already included. Nested class members are not included because their definitions are on separate pages.
-
getClassKeyword
Get the current class for a meta tag keyword, as a singleton list. -
getMetaKeywords
Get the package keywords. -
getMetaKeywordsForModule
Get the module keywords.- Parameter:
mdle
- the module being documented
-
getOverviewMetaKeywords
Get the overview keywords. -
getMemberKeywords
Get members for meta tag keywords as an array, where each member name is a string element of the array.The parameter lists are not included in the keywords; therefore all overloaded methods are combined.
Example: getValue(Object) is returned in array as getValue()- Parameter:
members
- array of members to be added to keywords
-