APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.javadoc.internal.doclets.formats.html

public Class Contents

extends Object
Class Inheritance
Imports
java.util.Collection, .EnumMap, .Objects, java.util.regex.Matcher, .Pattern, jdk.javadoc.internal.doclets.toolkit.Resources, jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberTable, jdk.javadoc.internal.html.Content, .ContentBuilder, .Entity, .Text

Constants and factory methods for common fragments of content used by HtmlDoclet. The string content of these fragments is generally obtained from the resources found in the doclet's configuration.

Implementation Note

Many constants are made available in this class, so that they are only created once per doclet-instance, instead of once per generated page.

Field Summary

Modifier and TypeField and Description
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
private final Resources
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content
public final Content

Constructor Summary

AccessConstructor and Description
pack-priv
Contents(HtmlConfiguration
the configuration in which to find the resources used to look up resource keys, and other details.
configuration
)

Creates a Contents object.

Method Summary

Modifier and TypeMethod and Description
public Content

Returns:

the string
getContent
(String
the key for the desired string
key
)

Gets a Content object, containing the string for a given key in the doclet's resources.

public Content

Returns:

the string
getContent
(String
the key for the desired string
key
,
Object
string or content argument to be formatted into the result
o0
)

Gets a Content object, containing the string for a given key in the doclet's resources, formatted with given arguments.

public Content

Returns:

the string
getContent
(String
the key for the desired string
key
,
Object
string or content argument to be formatted into the result
o0
,
Object
string or content argument to be formatted into the result
o1
)

Gets a Content object, containing the string for a given key in the doclet's resources, formatted with given arguments.

public Content

Returns:

the string
getContent
(String
the key for the desired string
key
,
Object
string or content argument to be formatted into the result
o0
,
Object
string or content argument to be formatted into the result
o1
,
Object
string or content argument to be formatted into the result
o2
)

Gets a Content object, containing the string for a given key in the doclet's resources, formatted with given arguments.

public Content

Returns:

a label that describes the VisibleMemberTable kind
getNavLinkLabelContent
(VisibleMemberTable.Kind
the visible member table kind.
kind
)

Returns a label that describes the VisibleMemberTable kind.

private Content

Returns:

the string
getNonBreakResource
(String
the key for the desired string
key
)

Gets a Content object, containing the string for a given key in the doclet's resources, substituting   for any space characters found in the named resource string.

public Content

Returns:

the string content
getNonBreakString
(String
the string
text
)

Gets a Content object for a string, substituting   for any space characters found in the named resource string.

public Content

Returns:

the composition
join
(Content
the separator
separator
,
Collection<? extends Content>
the items
items
)

Returns content composed of items joined together with the specified separator.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allClassesAndInterfacesLabelback to summary
public final Content allClassesAndInterfacesLabel
allImplementedInterfacesLabelback to summary
public final Content allImplementedInterfacesLabel
allModulesLabelback to summary
public final Content allModulesLabel
allPackagesLabelback to summary
public final Content allPackagesLabel
allSuperinterfacesLabelback to summary
public final Content allSuperinterfacesLabel
alsoback to summary
public final Content also
annotateTypeOptionalMemberSummaryLabelback to summary
public final Content annotateTypeOptionalMemberSummaryLabel
annotateTypeRequiredMemberSummaryLabelback to summary
public final Content annotateTypeRequiredMemberSummaryLabel
annotationTypeback to summary
public final Content annotationType
annotationTypeDetailsLabelback to summary
public final Content annotationTypeDetailsLabel
annotationTypeMemberDetailback to summary
public final Content annotationTypeMemberDetail
annotationTypeOptionalMemberLabelback to summary
public final Content annotationTypeOptionalMemberLabel
annotationTypeRequiredMemberLabelback to summary
public final Content annotationTypeRequiredMemberLabel
annotationtypesback to summary
public final Content annotationtypes
annotationTypesback to summary
public final Content annotationTypes
classesback to summary
public final Content classes
classLabelback to summary
public final Content classLabel
constantFieldLabelback to summary
public final Content constantFieldLabel
constantsSummaryTitleback to summary
public final Content constantsSummaryTitle
constructorDetailsLabelback to summary
public final Content constructorDetailsLabel
constructorLabelback to summary
public final Content constructorLabel
constructorsback to summary
public final Content constructors
constructorSummaryLabelback to summary
public final Content constructorSummaryLabel
contentsHeadingback to summary
public final Content contentsHeading
default_back to summary
public final Content default_
defaultPackageLabelback to summary
public final Content defaultPackageLabel
deprecatedAPIback to summary
public final Content deprecatedAPI
deprecatedForRemovalPhraseback to summary
public final Content deprecatedForRemovalPhrase
deprecatedLabelback to summary
public final Content deprecatedLabel
deprecatedPhraseback to summary
public final Content deprecatedPhrase
descriptionFromClassLabelback to summary
public final Content descriptionFromClassLabel
descriptionFromInterfaceLabelback to summary
public final Content descriptionFromInterfaceLabel
descriptionLabelback to summary
public final Content descriptionLabel
detailLabelback to summary
public final Content detailLabel
enclosingClassLabelback to summary
public final Content enclosingClassLabel
enclosingInterfaceLabelback to summary
public final Content enclosingInterfaceLabel
enum_back to summary
public final Content enum_
enumConstantDetailLabelback to summary
public final Content enumConstantDetailLabel
enumConstantLabelback to summary
public final Content enumConstantLabel
enumConstantSummaryback to summary
public final Content enumConstantSummary
enumsback to summary
public final Content enums
exceptionClassback to summary
public final Content exceptionClass
exceptionClassesback to summary
public final Content exceptionClasses
exportedToback to summary
public final Content exportedTo
externalSpecificationsback to summary
public final Content externalSpecifications
fieldDetailsLabelback to summary
public final Content fieldDetailsLabel
fieldLabelback to summary
public final Content fieldLabel
fieldsback to summary
public final Content fields
fieldSummaryLabelback to summary
public final Content fieldSummaryLabel
fromLabelback to summary
public final Content fromLabel
functionalInterfaceback to summary
public final Content functionalInterface
functionalInterfaceMessageback to summary
public final Content functionalInterfaceMessage
helpLabelback to summary
public final Content helpLabel
helpSubNavLabelback to summary
public final Content helpSubNavLabel
hideSidebarback to summary
public final Content hideSidebar
hierarchyForAllPackagesback to summary
public final Content hierarchyForAllPackages
implementationback to summary
public final Content implementation
implementingClassesLabelback to summary
public final Content implementingClassesLabel
inClassback to summary
public final Content inClass
indexLabelback to summary
public final Content indexLabel
inInterfaceback to summary
public final Content inInterface
interfaceLabelback to summary
public final Content interfaceLabel
interfacesback to summary
public final Content interfaces
methodDetailLabelback to summary
public final Content methodDetailLabel
methodLabelback to summary
public final Content methodLabel
methodsback to summary
public final Content methods
methodSummaryback to summary
public final Content methodSummary
modifierAndTypeLabelback to summary
public final Content modifierAndTypeLabel
modifierLabelback to summary
public final Content modifierLabel
module_back to summary
public final Content module_
moduleLabelback to summary
public final Content moduleLabel
modulesLabelback to summary
public final Content modulesLabel
moduleSubNavLabelback to summary
public final Content moduleSubNavLabel
nestedClassSummaryback to summary
public final Content nestedClassSummary
newAPIback to summary
public final Content newAPI
newLabelback to summary
public final Content newLabel
noScriptMessageback to summary
public final Content noScriptMessage
openedToback to summary
public final Content openedTo
openModuleLabelback to summary
public final Content openModuleLabel
overridesLabelback to summary
public final Content overridesLabel
overviewLabelback to summary
public final Content overviewLabel
package_back to summary
public final Content package_
packageHierarchiesback to summary
public final Content packageHierarchies
packageLabelback to summary
public final Content packageLabel
packagesLabelback to summary
public final Content packagesLabel
packageSubNavLabelback to summary
public final Content packageSubNavLabel
packageSummaryLabelback to summary
public final Content packageSummaryLabel
parametersback to summary
public final Content parameters
previewAPIback to summary
public final Content previewAPI
previewLabelback to summary
public final Content previewLabel
previewMarkback to summary
public final Content previewMark
previewPhraseback to summary
public final Content previewPhrase
propertiesback to summary
public final Content properties
propertyDetailsLabelback to summary
public final Content propertyDetailsLabel
propertyLabelback to summary
public final Content propertyLabel
propertySummaryLabelback to summary
public final Content propertySummaryLabel
recordComponentsback to summary
public final Content recordComponents
recordsback to summary
public final Content records
referencedInback to summary
public final Content referencedIn
relatedPackagesback to summary
public final Content relatedPackages
resourcesback to summary
private final Resources resources
restrictedMarkback to summary
public final Content restrictedMark
restrictedMethodsback to summary
public final Content restrictedMethods
restrictedPhraseback to summary
public final Content restrictedPhrase
returnsback to summary
public final Content returns
searchLabelback to summary
public final Content searchLabel
searchTagsLabelback to summary
public final Content searchTagsLabel
seeAlsoback to summary
public final Content seeAlso
serializedFormback to summary
public final Content serializedForm
servicesLabelback to summary
public final Content servicesLabel
showSidebarback to summary
public final Content showSidebar
specificationLabelback to summary
public final Content specificationLabel
specifiedByLabelback to summary
public final Content specifiedByLabel
subclassesLabelback to summary
public final Content subclassesLabel
subinterfacesLabelback to summary
public final Content subinterfacesLabel
summaryLabelback to summary
public final Content summaryLabel
systemPropertiesLabelback to summary
public final Content systemPropertiesLabel
systemPropertiesSummaryLabelback to summary
public final Content systemPropertiesSummaryLabel
tableOfContentsLabelback to summary
public final Content tableOfContentsLabel
throws_back to summary
public final Content throws_
treeLabelback to summary
public final Content treeLabel
typeLabelback to summary
public final Content typeLabel
typeParametersback to summary
public final Content typeParameters
useLabelback to summary
public final Content useLabel
valueLabelback to summary
public final Content valueLabel

Constructor Detail

Contentsback to summary
pack-priv Contents(HtmlConfiguration configuration)

Creates a Contents object.

Parameters
configuration:HtmlConfiguration

the configuration in which to find the resources used to look up resource keys, and other details.

Method Detail

getContentback to summary
public Content getContent(String key)

Gets a Content object, containing the string for a given key in the doclet's resources.

Parameters
key:String

the key for the desired string

Returns:Content

the string

getContentback to summary
public Content getContent(String key, Object o0)

Gets a Content object, containing the string for a given key in the doclet's resources, formatted with given arguments.

Parameters
key:String

the key for the desired string

o0:Object

string or content argument to be formatted into the result

Returns:Content

the string

getContentback to summary
public Content getContent(String key, Object o0, Object o1)

Gets a Content object, containing the string for a given key in the doclet's resources, formatted with given arguments.

Parameters
key:String

the key for the desired string

o0:Object

string or content argument to be formatted into the result

o1:Object

string or content argument to be formatted into the result

Returns:Content

the string

getContentback to summary
public Content getContent(String key, Object o0, Object o1, Object o2)

Gets a Content object, containing the string for a given key in the doclet's resources, formatted with given arguments.

Parameters
key:String

the key for the desired string

o0:Object

string or content argument to be formatted into the result

o1:Object

string or content argument to be formatted into the result

o2:Object

string or content argument to be formatted into the result

Returns:Content

the string

getNavLinkLabelContentback to summary
public Content getNavLinkLabelContent(VisibleMemberTable.Kind kind)

Returns a label that describes the VisibleMemberTable kind.

Parameters
kind:VisibleMemberTable.Kind

the visible member table kind.

Returns:Content

a label that describes the VisibleMemberTable kind

getNonBreakResourceback to summary
private Content getNonBreakResource(String key)

Gets a Content object, containing the string for a given key in the doclet's resources, substituting   for any space characters found in the named resource string.

Parameters
key:String

the key for the desired string

Returns:Content

the string

getNonBreakStringback to summary
public Content getNonBreakString(String text)

Gets a Content object for a string, substituting   for any space characters found in the named resource string.

Parameters
text:String

the string

Returns:Content

the string content

joinback to summary
public Content join(Content separator, Collection<? extends Content> items)

Returns content composed of items joined together with the specified separator.

Parameters
separator:Content

the separator

items:Collection<? extends Content>

the items

Returns:Content

the composition