APIdia Launch Partner
Top Description Methods
jdk.javadoc.internal.html

public Interface HtmlId


A type-safe wrapper around a String, for use as an "id" in HtmlTree objects.
See Also
HtmlTree#setId(HtmlId)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the id
name
()

Returns the name of the id.

public static HtmlId

Returns:

the id
of
(String
the name
name
)

Creates an id with the given name.

Method Detail

nameback to summary
public String name()

Returns the name of the id.

Returns:String

the name of the id

ofback to summary
public static HtmlId of(String name)

Creates an id with the given name.

Parameters
name:String

the name

Returns:HtmlId

the id